3 ms·
Why not just use IndexedDB in the browser if you don’t want an SQL database?
by __jonas 3y ago
Why 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.