capacitor-community / capacitor-community/sqlite
jeep-sqlite alternative
- Dominant language
- Swift
- Stars
- 661
- Forks
- 158
- PR merge metrics
- No merged PRs in 30d
Description
First, I want to thank the maintainer for the huge effort they've put into this incredibly valuable plugin.
Second, I want to ask: for web, is there an alternative to jeep-sqlite? I've noticed two issues with it:
1. Very large size. It adds 500kb to my javascript bundle (excluding the wasm file). More than the rest of my app, combined.
2. It requires calling `saveToStore` after any changes. This creates an easy pitfall: the developer makes changes create/update/delete but forgets to call `saveToStore`.
I suggest something like [rhashimoto's IDBBatchAtomicVFS](https://github.com/rhashimoto/wa-sqlite/tree/master/src/examples#idbbatchatomicvfs).
Contributor guide
Assessment
This issue has not been assessed yet.