What are differences between redux, react-redux, redux-thunk?

后端 未结 4 538
感动是毒
感动是毒 2020-12-22 17:55

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 sim

4条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-22 18:24

    To answer you title question:

    What are differences between redux, react-redux, redux-thunk?

    1. redux: main library (independent from React)
    2. redux-thunk: a redux middleware which helps you with async actions
    3. react-redux: connects your redux store with ReactComponents

提交回复
热议问题