React is not MVC; it only referred to as the View in an MVC Structure, Facebook has introduced its architecture called Flux & Redux. MVC doesn't share good terms with react development because of bidirectional communication, which is not easy to understand and is very difficult to debug which ultimately causes a smooth flow of data that does not define great apps.
In this article, I’d like to tell you more about the Redux library and create a simple ReactJS project, where I’ll set up a Redux step by step.
In this article, we will go throug theory about state, state management tools like Redux, middleware, Redux Thunk and Redux Saga.
Cùng mình khám phá các bước để setup Redux trong một ReactJS App nào ✅ Redux trong Vanilla JS App vs ReactJS App có khác gì nhau ✅ Các bước setup Redux trong Vanilla JS app ✅ Các bước setup Redux trong ReactJS app ✅ Kết nối tới Redux bằng hooks: useSelector(), useDispatch()