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
This will make the flow of vuex, that is already very intuitive, more easier.
In the analogy of component vs vuex:
data => state, methods => mutations and actions , computed properties => getters, watchers => watchers
The users will not have to use store.$watch, they will create watchers in the Vuex.Store and in modules directly.
The good news is that it will not destroy any existant flow, will only increase a feature that will help the flow of vuex.
This is the model of a module of vuex with watchers:
const state = {}; const getters = {}; const mutations = {}; const actions = {}; const watchers = {}; export default { namespaced: true, state, getters, mutations, actions, watchers, }
The text was updated successfully, but these errors were encountered:
Duplicate of #1219
Sorry, something went wrong.
No branches or pull requests
What problem does this feature solve?
This will make the flow of vuex, that is already very intuitive, more easier.
What does the proposed API look like?
In the analogy of component vs vuex:
The users will not have to use store.$watch, they will create watchers in the Vuex.Store and in modules directly.
The good news is that it will not destroy any existant flow, will only increase a feature that will help the flow of vuex.
This is the model of a module of vuex with watchers:
The text was updated successfully, but these errors were encountered: