-
In this example in the devtools doc, the second parameter is set to |
Beta Was this translation helpful? Give feedback.
Answered by
dai-shi
Feb 10, 2025
Replies: 1 comment 1 reply
-
If Lines 76 to 78 in 6737115 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
fa-901
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If
replace
is falsy and the state is object,set
will "shallow merge" the previous object and the new object.zustand/src/vanilla.ts
Lines 76 to 78 in 6737115