Comparing React state tools: Mutative vs. Immer vs. reducers - LogRocket Blog
Briefly

Reducers help us modify states within specific action types more elegantly and clean up our code if we need to manage complex states within these types.
Reducers allow developers to handle state updates in a structured way by defining action types for operations like adding, removing, or updating items in React applications.
Read at LogRocket Blog
[
add
]
[
|
|
]