Chrome storage API vs Dexie.js (IndexedDB)
Anyone using Dexie or something similar instead of the Chrome storage API? Dexie is a wrapper around IndexedDB. I'm considering migrating to using Dexie from the Chrome storage API for a few reasons:
- Dexie has database versioning, making it easier to modify your data structures
- Dexie has the option to sync to the cloud
- Dexie makes it easier to perform queries/search
Potential downsides is that it requires more time and effort to implement.
4 Replies
I have used Dexie with Plasmo and it was near straightforward to implement, and has a clean interface. If you are not handling large datasets client-side, I don't see the need for it.
@coder_iyke has reached level 1. GG!
used some dexie in a separate project, it was not too bad - https://github.com/curdinc/skylar-email
GitHub
GitHub - curdinc/skylar-email
Contribute to curdinc/skylar-email development by creating an account on GitHub.
@hb has reached level 2. GG!