-
Notifications
You must be signed in to change notification settings - Fork 47k
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
Fixes #10443 #10448
Fixes #10443 #10448
Conversation
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.
Make sure you run yarn prettier
and commit the result.
@@ -16,7 +16,7 @@ var ReactInstanceMap = require('ReactInstanceMap'); | |||
var ReactNativeFeatureFlags = require('ReactNativeFeatureFlags'); | |||
var ReactNativeFiberRenderer = require('ReactNativeFiberRenderer'); | |||
var {ReactCurrentOwner} = require('ReactGlobalSharedState'); | |||
|
|||
var getComponentName = require('getComponentName.js'); |
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.
Remove the .js
extension
@@ -76,7 +76,7 @@ function findNodeHandle(componentOrHandle: any): any { | |||
'never access something that requires stale data from the previous ' + | |||
'render, such as refs. Move this logic to componentDidMount and ' + | |||
'componentDidUpdate instead.', | |||
owner.getName() || 'A component', | |||
getComponentName(owner) |
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.
This should be
getComponentName(owner) || 'A component',
@acdlite Done, I forgot that FB prefers trailing |
@acdlite I think that should cover it. |
Thanks! |
This is not enough to fix the issue. Please see #10518. |
No description provided.