3 ms·
I'd see if you can easily port the on top of browser based sqlite in wasm, that's expand your user base and lead to some of the "holy Grail" in the offline firs
by cyanydeez 3y ago
I'd see if you can easily port the on top of browser based sqlite in wasm, that's expand your user base and lead to some of the "holy Grail" in the offline first/sync systems
- __jonas 3y agoWhy not just use IndexedDB in the browser if you don’t want an SQL database?
- jitl 3y agoa) IndexedDB's API is horrid, so everyone wants to layer an abstraction on top anyways. b) You can't use IndexedDB on the server, so you wouldn't be able to write sync code that runs on both the client and the server
- erikpukinskis 3y agoThe same reasons you wouldn’t use IndexedDB on the server? Modern offline-first applications include a local backend every bit as complex and demanding as a server-based backend.