Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support IndexedDB for service worker #10

Closed
pi0 opened this issue Sep 8, 2021 · 4 comments
Closed

Support IndexedDB for service worker #10

pi0 opened this issue Sep 8, 2021 · 4 comments
Assignees
Labels

Comments

@pi0
Copy link
Member

pi0 commented Sep 8, 2021

Service workers don't allow localStorage, which we can use IndexedDB instead.

@MaxGfeller
Copy link

I'm thinking of using unstorage, especially for its clean interface, over localForage.js for an offline first web project. However, IndexedDB support is essential, thus my question: what's the current state on this? Is there something i can help with? Would it be possible to use watch(callback), too somehow (for cross-tab functionality)?

@pi0
Copy link
Member Author

pi0 commented Oct 20, 2021

@MaxGfeller We are mostly busy with other tasks. If you mind opening a PR I can help and have it sooner :)

@MaxGfeller
Copy link

Alright, i see what i can do 👍🏻 Thank you.

@itpropro
Copy link
Member

itpropro commented Jan 2, 2024

IndexedDB support was added with #221

@itpropro itpropro closed this as completed Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants