devinit / devinit/datahub

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

Open
#511 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
15
Forks
4
PR merge metrics
No merged PRs in 30d

Description

## 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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.