-
Notifications
You must be signed in to change notification settings - Fork 9
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 #2172
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
The preview deployment is ready. 🟢 Open Preview | Open Build Logs Last updated at: 2025-01-19 09:07:56 CET |
9845f9c
to
b02286d
Compare
b02286d
to
67b4bb5
Compare
67b4bb5
to
c1cac4e
Compare
c1cac4e
to
d85d725
Compare
3c1cb61
to
a21c4c8
Compare
a21c4c8
to
363ed48
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. |
Description
릴리즈 노트가 있지만 같은 내용을 아래 링크에서 보면 더 편합니다!
https://zustand.docs.pmnd.rs/migrations/migrating-to-v5
: default export 안 씀
: 👍
: React 18 쓰고 있음
:
shallow
나 EqualityFn 사용 안해서 해당 없음: TypeScript 5.7.2 사용 중
: UMD/SystemJS 해당 없음
: 👍
: 👍
: replace flag 사용 안해서 해당 없음
:
persist
사용 중이기에 확인 필요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
See: #2943
Full Changelog: pmndrs/zustand@v4.5.5...v4.5.6
Configuration
📅 Schedule: Branch creation - "* 0-3 * * 1" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, 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.