-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
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
[Bug]: Component
causing incorrect re-renders
#10283
Comments
Current workaround is to use |
Fixed by #10287 |
Reopening until this is released to npm |
Aligning with Remix here - will close this issue with |
🤖 Hello there, We just published version Thanks! |
🤖 Hello there, We just published version Thanks! |
What version of React Router are you using?
6.9.0
Steps to Reproduce
Original Discord thread
Expected Behavior
Component
shouldn't cause additional re-renders compared toelement
Actual Behavior
Component
causes additional re-renders becauseReact.createElement
is re-called each timeThe text was updated successfully, but these errors were encountered: