4 ms·
> Every [IndexedDB] library I looked at was messy and made performance even worse Seconded – I was pretty dismayed when I saw the IndexedDB helper library land
by TehShrike 5y ago
> Every [IndexedDB] library I looked at was messy and made performance even worse
Seconded – I was pretty dismayed when I saw the IndexedDB helper library landscape.
I ended up making https://github.com/TehShrike/small-indexeddb https://github.com/TehShrike/small-indexeddb which is ~50 lines to make it less onerous to work directly with the IDBObjectStore.
- LAC-Tech 5y agoI've had good experiences with https://github.com/jakearchibald/idb https://github.com/jakearchibald/idb It's basically a promise-based version of the standard API.
- TehShrike 5y agoYeah, Jake made idb not too long after I made small-indexeddb. I think it's one of the most reasonable options (and it has TypeScript types!), but it's still about 5x as much code as small-indexeddb.