2018年3月6日
摘要: store是联系state 和 reducer的部分 Store 有以下职责: 维持应用的 state; 提供 getState() 方法获取 state; 提供 dispatch(action) 方法更新 state; 通过 subscribe(listener) 注册监听器; 通过 subscr 阅读全文
posted @ 2018-03-06 11:05 不了无明 阅读(241) 评论(0) 推荐(0) 编辑