Skip to content

Conversation

@brinkokevin
Copy link

Removes update from queue when calling setState with equal value as current state. This would previously cause queue buildup until the next rerender.

Copy link
Collaborator

@jeparlefrancais jeparlefrancais left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll let @grilme99 make the final merge, but it feels okay for me to merge as is since it's been merged in upstream (see Roblox/react-luau@d8d83cf). The flag has been tried and results are fine (see this message)

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.

2 participants