We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3714fd4 commit f71a800Copy full SHA for f71a800
examples/counter/store.js
@@ -43,10 +43,9 @@ const actions = {
43
}
44
45
46
-// A Vuex instance is created by combining the state, the actions,
47
-// and the mutations. Because the actions and mutations are just
48
-// functions that do not depend on the instance itself, they can
49
-// be easily tested or even hot-reloaded (see counter-hot example).
+// A Vuex instance is created by combining the state, mutations, actions,
+// and getters. Components should prefer interacting with the store via
+// getters and actions.
50
export default new Vuex.Store({
51
state,
52
getters: {
0 commit comments