We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1af9b1 commit 8fd61c9Copy full SHA for 8fd61c9
examples/counter/store.js
@@ -9,7 +9,7 @@ const state = {
9
count: 0
10
}
11
12
-// mutations are operations that actually mutates the state.
+// mutations are operations that actually mutate the state.
13
// each mutation handler gets the entire state tree as the
14
// first argument, followed by additional payload arguments.
15
// mutations must be synchronous and can be recorded by plugins
@@ -43,7 +43,7 @@ const actions = {
43
44
45
46
-// getters are functions
+// getters are functions.
47
const getters = {
48
evenOrOdd: state => state.count % 2 === 0 ? 'even' : 'odd'
49
0 commit comments