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

v1.10.0 .clear() doesn't do anything #511

Open
geoidesic opened this issue Mar 28, 2024 · 0 comments
Open

v1.10.0 .clear() doesn't do anything #511

geoidesic opened this issue Mar 28, 2024 · 0 comments

Comments

@geoidesic
Copy link

I'm submitting a ...

Check one of the following options with "x" and add the appropriate label to the issue as well


[x] Bug report 
[ ] Regression (behaviour that used to work and stopped working in a new release)

Describe the Issue
.clear() doesn't do anything

To Reproduce
Replace the content below with the steps to reproduce the behaviour.

import localforage from "localforage";
localforage.clear();

Expected Behaviour
I expect local storage to be empty after clear. It's not,

Desktop (please complete the following information):

  • OS: [e.g. iOS]: Mac OS 14.3.1 (23D60)
  • Browser [e.g. chrome, safari]: Chrome
  • Version [e.g. 22]: Version 123.0.6312.87 (Official Build) (arm64)

Environment/Server:


- [ ] Production
- [ ] Staging
- [ ] Test
- [x] Development
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant