Redux | thunk handles Google Authentication async logic

In Redux we often use middleware to handle asynchronous behavior, so that we can add different asynchronous logic to the store, and gradually we have developed various kinds of middleware. ...

September 2, 2022 · 5 min · Anila

Redux | Write localStorage using middleware

Basically, we manage global state through store, action, reducer in redux. We can define our action and reducer first, dispatch action through synchronous operations, and then processed by the reducer to update the store so that components can access the state from the store. ...

August 20, 2022 · 3 min · Anila