10 2016 档案

摘要:代码片段理解: line 2: line 8 - 10: 是表达:state.counter[id] = state.counters[id] + 1 阅读全文
posted @ 2016-10-28 12:29 NOIP/NOI辅导 阅读(277) 评论(0) 推荐(0)
摘要:... 包含0个或n个属性, { ...state.counters [id]: state.counters[id] - 1 } 只改变其中的id相对应的属性,其他保持不变 阅读全文
posted @ 2016-10-28 11:39 NOIP/NOI辅导 阅读(143) 评论(0) 推荐(0)
摘要:mapStateToProps(state, ownProps) : stateProps reducer 去更新 store 阅读全文
posted @ 2016-10-25 17:35 NOIP/NOI辅导 阅读(152) 评论(0) 推荐(0)