DEV Community


Discussion on: Make websites work offline - Offline Storage. Making IndexedDB the Hero!

skhmt profile image
Mike S

Just note, IndexedDB is very low level and wasn't really meant to be used directly by most developers.

Most people would be better off using something like Dexie.js or LocalForage (not a typo) as a wrapper over IndexedDB.

saurabhdaware profile image
Saurabh Daware 🌻 Author

It totally depends on what your team prefers. I use vanilla IndexedDB in one of my application where I wrote my own wrapper around IndexedDB functions and it does work pretty well for me.

raymondcamden profile image
Raymond Camden

I disagree. While IDB is not a very easy to use API, it was absolutely meant to be used by developers. Libraries do make it simpler, but there's nothing wrong with developers using IDB w/o a library.