-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(deps): update dependency zustand to v5 #979
base: staging
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
9a9f2bc
to
86ea2c9
Compare
86ea2c9
to
d5f16da
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need to fix this error first:
Uncaught Error: Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.
d5f16da
to
14457df
Compare
14457df
to
1b28016
Compare
1b28016
to
184d8ed
Compare
184d8ed
to
cb1bedd
Compare
cb1bedd
to
b378831
Compare
b378831
to
125ce24
Compare
125ce24
to
fc0424d
Compare
fc0424d
to
6013718
Compare
This PR contains the following updates:
4.5.5
->5.0.3
Release Notes
pmndrs/zustand (zustand)
v5.0.3
Compare Source
ExtractState
is a type util to extract state type from store type.What's Changed
New Contributors
Full Changelog: pmndrs/zustand@v5.0.2...v5.0.3
v5.0.2
Compare Source
v5.0.1
Compare Source
This fixes
shallow
function for some edge cases.What's Changed
New Contributors
Full Changelog: pmndrs/zustand@v5.0.0...v5.0.1
v5.0.0
Compare Source
🎉🎉🎉 Zustand v5 🐻🐻🐻
TL;DR
Changes in v5
createWithEqualityFn
anduseStoreWithEqualityFn
inzustand/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
useShallow
often fixes the problem.What's Changed
setState
by @chrisvander in https://github.com/pmndrs/zustand/pull/2696New Contributors
Full Changelog: pmndrs/zustand@v4.5.5...v5.0.0
v4.5.6
Compare Source
Configuration
📅 Schedule: Branch creation - "every 2 weeks on Monday before 7am" in timezone Europe/Berlin, 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.