摘要: We will learn how to encapsulate the knowledge about the state shape in the reducer files, so that the components don’t have to rely on it. In current 阅读全文
posted @ 2016-06-06 21:08 Zhentiw 阅读(241) 评论(0) 推荐(0)
摘要: We will learn how to avoid the boilerplate code in mapDispatchToProps() for the common case where action creator arguments match the callback prop arg 阅读全文
posted @ 2016-06-06 03:21 Zhentiw 阅读(542) 评论(0) 推荐(0)
摘要: We will learn how to use withRouter() to inject params provided by React Router into connected components deep in the tree without passing them down a 阅读全文
posted @ 2016-06-06 03:11 Zhentiw 阅读(1109) 评论(1) 推荐(1)
摘要: We will learn how adding React Router shifts the balance of responsibilities, and how the components can use both at the same time. Now when we click 阅读全文
posted @ 2016-06-06 02:50 Zhentiw 阅读(476) 评论(0) 推荐(0)