Skip to content

Commit 741ef42

Browse files
committed
Merge pull request #29 from weixiaobo88/master
[fix-typo] - from 'redux state' to 'store_3 state'
2 parents 9d1b512 + f867462 commit 741ef42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

04_get-state.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ var store_3 = createStore(reducer_3)
7979
// 输出: reducer_3 was called with state {} and action { type: '@@redux/INIT' }
8080

8181
console.log('store_3 state after initialization:', store_3.getState())
82-
// 输出: redux state after initialization: {}
82+
// 输出: store_3 state after initialization: {}
8383

8484
// 到目前为止,我们都还没有得到一个新 state, 因为我们还没有真的派发过任何 action 。
8585
// 不过在最后一个例子里,有几个点值得注意:

0 commit comments

Comments
 (0)