How to use IndexedDB in Solid?

I can't see solid-primitives. How to use it?
4 Replies
Alex Lohr
Alex Lohr3y ago
There is no package for indexedDB yet. This would probably an extension to the @solid-primitives/storage package.
Alex Lohr
Alex Lohr3y 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
musicloverOP3y ago
How about having ‘idb’ wrapper inside solid?
Alex Lohr
Alex Lohr3y ago
It would be possible to create an AsyncStorage from that. PRs are welcome.

Did you find this page helpful?