redux-react

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

以上是 redux-react 的全部内容, 来源链接: utcz.com/z/381775.html

回到顶部