I am using React + Flux. Our team is planning to move from flux to redux. Redux is very confusing for me coming from flux world. In flux control flow is simple from Components -> actions -> Store and store updates back components. Its simple and very clear.
但在redux中,它令人困惑.这里没有store ,是的,有一些例子没有使用store .我看了几个教程,似乎每个人都有自己的实现风格.有些使用容器,有些不使用.(我不知道这个容器概念,也无法理解MapStateTrops、mapDispatchToProps的功能).
- 有人能清楚地解释控制流是如何在redux中发生的吗?
- 组件/容器/动作/动作创建者/store 在redux中扮演什么角色?
- redux/react-redux/redux-thunk/任何其他之间的区别??
- 如果你可以发布simple and precise个redux教程的链接,这将非常有用.