-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Issue with createGlobalState #130
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
Comments
This is a limitation of Vue's current API design: vuejs/core#1532 I am already working on an RFC to addressing this: vuejs/rfcs#212 Thanks |
Thanks for info. Will monitor RFC then. |
Inspired by |
I think that will do for now, thanks! |
Released in 4.0.0-beta.16. |
createGlobalState
stops tracking changes after component that first used global state is disposed.Tried it with
vue@3
and can reproduce it there too, so it is not@vue/composition-api
issue.Added pull request with reproduction tests: #129
The text was updated successfully, but these errors were encountered: