-
Notifications
You must be signed in to change notification settings - Fork 47.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
Added component displayName to warning message in ReactUpdateQueue.js #3913
Added component displayName to warning message in ReactUpdateQueue.js #3913
Conversation
The WebWorker test seems to be failing:
|
@zpao can you or someone else please review this? |
'component. This is a no-op.', | ||
'This usually means you called %s() on an unmounted component. ' + | ||
'Please check the code for the %s component. ' + | ||
'This is a no-op.', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's reverse this line and the one before it (so "no-op" comes first)
I think just the one comment and then could you rebase (we had a bunch of files move and lint changes in the last 2 weeks) |
ccf3b83
to
fa93826
Compare
👍 looks good. |
…g-message Added component displayName to warning message in ReactUpdateQueue.js
I love you for this one <3 |
Did this make it into version 13.3? |
@joshhornby no. Merged just 1.5 months ago, and 13.3 was released more than 2 months ago. |
@dmitry Ah ok, is there an easy way to use this now? |
You should be able to use it in the 0.14-beta-1 version |
Any updates on this? For some reason, I get this message with: Please check the code for the undefined component. Using react 15.2.1 |
This fix didn't work for ES classes and functional components. A follow up fix was merged in #7326 and released in 15.3.0 so please update to it. |
ref #3878
New message will look like this: