Infinite re-render on updating zustand state #2976
Unanswered
Amansaxena001
asked this question in
Q&A
Replies: 1 comment 5 replies
-
@Amansaxena001 if you are trying set an state on a |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I am facing a weird issue where Im trying to set a state which is leading to infinite re-renders.
State
Setter fn to update the state
zustand version -
4.5.4
I dont understand why its causing infinite loop where its just a simple object based state.
Beta Was this translation helpful? Give feedback.
All reactions