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

useStorate isn't reactive across components or composition calls #202

Open
pleek91 opened this issue Feb 13, 2023 · 0 comments
Open

useStorate isn't reactive across components or composition calls #202

pleek91 opened this issue Feb 13, 2023 · 0 comments

Comments

@pleek91
Copy link
Collaborator

pleek91 commented Feb 13, 2023

Description

useStorage should allow a dev to call it using the same key more than once and get the same reactive value. Currently each time you call the composition you get a separate value that is not reactive if another instance updates the value. This could be done using a composition factory similar to how useRouteQuery works.

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

No branches or pull requests

1 participant