3 ms·
Offline-first web apps. Think of all of the "native mobile apps" that could actually be done as a web app, but instead get built as native applications just bec
by rglullis 11y ago
Offline-first web apps. Think of all of the "native mobile apps" that could actually be done as a web app, but instead get built as native applications just because the application needs to store data.
- zzzmarcus 11y agoAlso Electron apps. It's currently pretty painful getting sqlite working with Electron, this could be a nice alternative.
- beefman 11y agoHave you tried the emscripten port of SQLite? It's worked well for me... http://github.com/kripken/sql.js http://github.com/kripken/sql.js
- zzzmarcus 11y agoI've tried it, the main problem I have withe it is that the whole DB has to be loaded into memory. It seems like it would be slow and unwieldy with even a moderate sized database. I'm still keeping it open as an option, but I like that Lovefield uses indexedb under the sheets.