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

Hydrating from useLocalStorageState #2491

Closed
gabrielOttopia opened this issue Mar 3, 2024 · 2 comments · Fixed by #2298
Closed

Hydrating from useLocalStorageState #2491

gabrielOttopia opened this issue Mar 3, 2024 · 2 comments · Fixed by #2298

Comments

@gabrielOttopia
Copy link

If i am creating a multi screen application and i want them to share similar values, I may use your useLocalStorageState hook. It would be amazing if this hook had an option to "fetch" or update its state instead of only on reload.

@crazylxr
Copy link
Collaborator

crazylxr commented Mar 4, 2024

This is a great idea, support for the next version.

@crazylxr crazylxr added the v4 label Mar 4, 2024
@crazylxr
Copy link
Collaborator

#2298

刚看到,已经有这个 PR 了

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

Successfully merging a pull request may close this issue.

3 participants