News for hackers. Stuff that matters.
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.