-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
Computed properties inside stores #36
Comments
I still need to initialize it as computed and pass along any interested components |
That's just how it would have to work - the store should only hold plain state. These standalone-computed getters are easy to compose though. |
understood |
@yyx990803 appears the link is no longer pointing to the shared computed getters example. Is there a new one? |
@uptownhr this no longer applies in latest version of Vuex. See http://vuex.vuejs.org/en/getters.html |
This would be useful for i18n. I wouldn't need to pass down a computed property consuming the store to every component.
The text was updated successfully, but these errors were encountered: