Hmmm, I've been using indexeddb via Dexie.js.

All of my relay handling routines store events into Dexie and then my UI is generated off from Svelte/Dexie LiveQueries from DB changes.

This conceptually keeps relays separate from ui, and works well for PWAs. Probably not the fastest though.

Reply to this note

Please Login to reply.

Discussion

I used liveQuery for a while, and maybe I was holding it wrong but it seemed slow and sort of unreliable. Which client are you building? I could have something to do with data model, or just how much data is getting pulled in

Some personal clients I haven't put out into the public yet. They are light duty, so it could be a setup that doesn't scale well, but for now it seems to be working fine.