Skip to content

Zustand causing more rerenders than expected #2642

Answered by dbritto-dev
jhalborg asked this question in Q&A
Discussion options

You must be logged in to vote

@jhalborg I found the issue you are updating the parent so that trigger new renders on children. You can try using memo on ShouldNotUpdate

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@dai-shi
Comment options

@jhalborg
Comment options

@dbritto-dev
Comment options

Answer selected by jhalborg
@jhalborg
Comment options

@dbritto-dev
Comment options

@jhalborg
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants