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
coder_iyke
coder_iyke•2mo ago
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.
Arcane
Arcane•2mo ago
@coder_iyke has reached level 1. GG!
hb
hb•2mo ago
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.
Arcane
Arcane•2mo ago
@hb has reached level 2. GG!
Want results from more Discord servers?
Add your server