We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Reduced test case: https://stackblitz.com/edit/react-9vjncm
Here we are logging the size every time its reference changes. The actual size never actually changes.
As you can see, this results in 4 logs:
I would only expect the first two to be logged, since the last two are duplicates—the size has not changed.
This could result in wasted re-renders.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Reduced test case: https://stackblitz.com/edit/react-9vjncm
Here we are logging the size every time its reference changes. The actual size never actually changes.
As you can see, this results in 4 logs:
I would only expect the first two to be logged, since the last two are duplicates—the size has not changed.
This could result in wasted re-renders.
The text was updated successfully, but these errors were encountered: