Re:Show HN: Doculite – Use SQLite as a Document Database
by cyanydeez on Monday August 07, 2023 @05:56PM
(#37041499)
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
[ Parent
| on HN ]
Re:Show HN: Doculite – Use SQLite as a Document Database
by __jonas on Monday August 07, 2023 @07:07PM
(#37042179)
Why not just use IndexedDB in the browser if you don’t want an SQL database?
Re:Show HN: Doculite – Use SQLite as a Document Database
by jitl on Monday August 07, 2023 @08:25PM
(#37042860)
a) 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
Re:Show HN: Doculite – Use SQLite as a Document Database
by erikpukinskis on Tuesday August 08, 2023 @12:52PM
(#37051974)
The 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.