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
To become a drop-in replacement for useState, useLocalStorage should support functional updates
useState
useLocalStorage
https://usehooks.com/useLocalStorage/ provides one way to do it.
The text was updated successfully, but these errors were encountered:
Actually, since it's using setState, it should be just a typescript issue. Let me try to fix.
setState
Sorry, something went wrong.
Fix useLocalStorage types for functional updates
5f5376c
Fixes streamich#438
🎉 This issue has been resolved in version 9.8.3 🎉
The release is available on:
Your semantic-release bot 📦🚀
Successfully merging a pull request may close this issue.
To become a drop-in replacement for
useState
,useLocalStorage
should support functional updateshttps://usehooks.com/useLocalStorage/ provides one way to do it.
The text was updated successfully, but these errors were encountered: