redux-react

 

理解redux几个重要概念

action:  any change made to the applications state

reducers: take in actions and update part of applications state,updated data get dispatched (send) to the store

Provider: makes store available to all containers

containers: fetch apps state data and use it to render (display) compoments. (apps state will become compoment props)

 

 

参考资料 http://www.cnblogs.com/lovesueee/p/5199686.html

demo教程 https://github.com/buckyroberts/React-Redux-Boilerplate

posted @ 2017-01-06 11:05  yikai.shao  阅读(132)  评论(0编辑  收藏  举报