Why use Immer for state updates?
In React (and modern JavaScript in general), we aim for immutable state updates. Why? Because comparing objects by reference is MUCH faster than doing a deep comparison. If an object's reference hasn't changed, we can be certain that nothing inside i...







