Skip to content
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 #407

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 15, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
zustand ^4.5.2 -> ^5.0.0 age adoption passing confidence

Release Notes

pmndrs/zustand (zustand)

v5.0.0

Compare Source

🎉🎉🎉 Zustand v5 🐻🐻🐻

TL;DR

  • No new features
  • Migration from v4 should be smooth.

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:

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.

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

New Contributors

Full Changelog: pmndrs/zustand@v4.5.5...v5.0.0


Configuration

📅 Schedule: Branch creation - "before 5am every weekday" (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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

vercel bot commented Oct 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 16, 2024 3:33am

Copy link

pkg-pr-new bot commented Oct 15, 2024

@magicbell/cli

yarn add https://pkg.pr.new/@magicbell/cli@407.tgz

@magicbell/core

yarn add https://pkg.pr.new/@magicbell/core@407.tgz

@magicbell/embeddable

yarn add https://pkg.pr.new/@magicbell/embeddable@407.tgz

@magicbell/in-app

yarn add https://pkg.pr.new/@magicbell/in-app@407.tgz

magicbell

yarn add https://pkg.pr.new/magicbell@407.tgz

@magicbell/project-client

yarn add https://pkg.pr.new/@magicbell/project-client@407.tgz

@magicbell/react-headless

yarn add https://pkg.pr.new/@magicbell/react-headless@407.tgz

@magicbell/magicbell-react

yarn add https://pkg.pr.new/@magicbell/magicbell-react@407.tgz

@magicbell/user-client

yarn add https://pkg.pr.new/@magicbell/user-client@407.tgz

@magicbell/webpush

yarn add https://pkg.pr.new/@magicbell/webpush@407.tgz

commit: 4bc62ab

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants