SIGN IN SIGN UP
immerjs / immer UNCLAIMED

Create the next immutable state by mutating the current one

0 0 61 JavaScript

docs: Update produce/mdx (#926)

`produce` function operates on `baseState` and produces `nextState`. Everywhere in this docs original state called `baseState`, but in the first snippet it's called `currentState`. I'm renaming it for consistency.
V
V K committed
fcb7a5590ce46d7dddee6f5382fb0f366370b95d
Parent: 0a47a40
Committed by GitHub <noreply@github.com> on 4/23/2022, 3:40:26 PM