Closed vorant94 closed 2 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
zustand-demo | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Aug 2, 2024 1:17pm |
This pull request is automatically built and testable in CodeSandbox.
To see build info of the built libraries, click here or the icon next to each commit SHA.
Related Bug Reports or Discussions
Fixes #
Summary
targeted section of the README talks about integration with redux devtools. to accomplish this the dev needs to define third argument for
set
function. since arguments forset
function are positional it means he/she needs to define the second,replace
, argument as wellcurrently README suggests just to use
false
value forreplace
arg i.e. to override the default value by identical manual one, but defined on the dev side.more clean way would be to use
undefined
at the second argument position that will make JS itself to use the default value, meaning moving control of it back lib authors, not devCheck List
pnpm run prettier
for formatting code and docs