How to use IndexedDB in Solid?

I can't see solid-primitives. How to use it?
4 Replies
Alex Lohr
Alex Lohr2y ago
There is no package for indexedDB yet. This would probably an extension to the @solid-primitives/storage package.
Alex Lohr
Alex Lohr2y ago
GitHub
solid-primitives/packages/storage at main · solidjs-community/solid...
A library of high-quality primitives that extend SolidJS reactivity. - solid-primitives/packages/storage at main · solidjs-community/solid-primitives
musiclover
musicloverOP2y ago
How about having ‘idb’ wrapper inside solid?
Alex Lohr
Alex Lohr2y ago
It would be possible to create an AsyncStorage from that. PRs are welcome.
Want results from more Discord servers?
Add your server