We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ee68e4 commit 8cb65c5Copy full SHA for 8cb65c5
docs/api/createSlice.md
@@ -147,9 +147,9 @@ const reducer = combineReducers({
147
const store = createStore(reducer)
148
149
store.dispatch(counter.actions.increment())
150
-// -> { counter: 1, user: {name : '', age: 20} }
+// -> { counter: 1, user: {name : '', age: 21} }
151
152
-// -> { counter: 2, user: {name: '', age: 21} }
+// -> { counter: 2, user: {name: '', age: 22} }
153
store.dispatch(counter.actions.multiply(3))
154
// -> { counter: 6, user: {name: '', age: 22} }
155
console.log(`${counter.actions.decrement}`)
0 commit comments