/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

immerjs.github.io
| | hswolff.com

This post is the first of a trilogy. Check out the other two posts as well:Level Up useReducer with ImmerHow To useContext With useReducerI didn't realize until recently how much I loved the React Hook useReducer. It's one of those advanced hooks, and while I read the documentation about it and alre
1.6 parsecs

Travel
| |
| | vishaltelangre.com


2.1 parsecs

Travel
| |
| | sandroroth.com

Reducers are not only useful for global state management. They can also be used for local component state. And compared to plain useReducer() we can reduce boilerplate code by adapting the API of modern reducer libraries like Redux Toolkit (RTK).
2.0 parsecs

Travel
| |
| | scastiel.dev

Redux is an awesome library to handle the state of big applications, React or not. But when you think about it, the basic features of Redux can be implemented in very few lines of code. Let's see how.
11.6 parsecs

Travel
|