In most production web applications, data come from remote services. So you cannot get the data right away. There are a couple of ways to handle async operations in Redux, such as “redux-saga,” “redux-promise,” etc. But the “redux-thunk” is simple and effective for most scenarios.Continue reading “[Redux] Async in Redux: redux-thunk”
Tag Archives: Redux
Redux is good at state management, and React is for creating UI components. You can connect React and Redux manually, but there is a great tool that makes the task in a simple way. It is the “react-redux” package.
The “react-redux” creates the “Provider” component and the “connect” function.Continue reading “[Redux] react-redux”
[Redux] Redux Overview
When working with React components, it is critical to have a standardized way to handle the data flow. Flux was a popular state management library of React, but Redux replaces Flux.
Continue reading “[Redux] Redux Overview”
Redux is a pattern and library for managing and updating application state, using events called actions.https://redux.js.org/