chore(deps): update dependency zustand to v5#506
Conversation
📦 Next.js Bundle Analysis for junat.liveThis analysis was generated by the Next.js Bundle Analysis action. 🤖 This PR introduced no changes to the JavaScript bundle! 🙌 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #506 +/- ##
=======================================
Coverage 87.96% 87.96%
=======================================
Files 128 128
Lines 4472 4472
Branches 510 510
=======================================
Hits 3934 3934
Misses 528 528
Partials 10 10 ☔ View full report in Codecov by Sentry. |
e11b739 to
f6c161f
Compare
f6c161f to
c64ef3f
Compare
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
This PR contains the following updates:
^4->^4 || ^5.0.0Release Notes
pmndrs/zustand (zustand)
v5.0.1Compare Source
This fixes
shallowfunction for some edge cases.What's Changed
New Contributors
Full Changelog: pmndrs/zustand@v5.0.0...v5.0.1
v5.0.0Compare Source
🎉🎉🎉 Zustand v5 🐻🐻🐻
TL;DR
Changes in v5
createWithEqualityFnanduseStoreWithEqualityFninzustand/traditional)Migration Guide
Read the migration guide carefully:
https://github.com/pmndrs/zustand/blob/main/docs/migrations/migrating-to-v5.md
Frequently Reported Issue
During the RC period, some users encountered the following infinite loop error:
This case was already a non-ideal behavior in v4 but appears more explicitly as an error in v5. While there are several ways to resolve this, using
useShallowoften fixes the problem.What's Changed
setStateby @chrisvander in https://github.com/pmndrs/zustand/pull/2696New Contributors
Full Changelog: pmndrs/zustand@v4.5.5...v5.0.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.