localForage / localForage/localForage
Localforage resets to initial state when page is refreshed
- Dominant language
- JavaScript
- Stars
- 25.8k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
I tried to use localforage for storing dala loacally and to work offline. But I am facing 2 issues with this.When I use localforage with vuex-persist data is storing . But when I refresh the page all data stored is lost and is reset to initial values. What could be the reason? And also when I make a build and run in mobile phone I am getting 'Loading CSS chunk faliure error' But the project is running in browser without this css failure. But when I change localforage to localstorage both of this issues are resolved. What could be the reason for these issues with localforage? How can I solve this?
Contributor guide
Research direction
The report names localforage, vuex-persist, localstorage, and a mobile build, but no repository files or tests. First reproduce the refresh and persistence behavior separately from the mobile “Loading CSS chunk faliure” error, comparing localforage with localstorage; done requires isolating each cause and documenting a confirmed fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- database, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100