We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I've created a codesandbox to demonstrate the problem: https://codesandbox.io/s/localforage-clear-issue-945-8ip2z
Look at Vue.app methods. When you click the Reset Cache button it will clear the store but will not setItem afterwards due to the await keyword.
Vue.app
await
To get it to work, the await keyword must be removed. This is unexpected as the docs show an example indicating that this method supports promises: https://localforage.github.io/localForage/#data-api-clear
The text was updated successfully, but these errors were encountered:
Well. I'm confused. It wasn't working on codesandbox... but now it is working. Still not working in my app though.
Sorry, something went wrong.
No branches or pull requests
I've created a codesandbox to demonstrate the problem: https://codesandbox.io/s/localforage-clear-issue-945-8ip2z
Look at
Vue.app
methods. When you click the Reset Cache button it will clear the store but will not setItem afterwards due to theawait
keyword.To get it to work, the
await
keyword must be removed. This is unexpected as the docs show an example indicating that this method supports promises: https://localforage.github.io/localForage/#data-api-clearThe text was updated successfully, but these errors were encountered: