You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem: You will get 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. Solution: Downgrade to zustand@4 and replace zustand/shallow with zustand/react/shallow
For other dependencies, it works as well
I use pnpm workspace, and here are my dependencies on my main project.
Describe the feature
Problem: You will get
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.
Solution: Downgrade to zustand@4 and replace
zustand/shallow
withzustand/react/shallow
For other dependencies, it works as well
I use pnpm workspace, and here are my dependencies on my main project.
Additional information
The text was updated successfully, but these errors were encountered: