摘要: 派发一个 action 给 reducer, reducer 生成了一个新的 state; redux 通过 Store 来保存数据, store.getState 获得数据, 而要更新 state, 则需要 store.dispatch(action); 由于reducer 里才会生成一个新的 s 阅读全文
posted @ 2017-08-11 22:44 zhengming 阅读(219) 评论(0) 推荐(0) 编辑