[Redux] Async in Redux: redux-thunk

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”

[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.

Redux is a pattern and library for managing and updating application state, using events called actions.

https://redux.js.org/
Continue reading “[Redux] Redux Overview”