Skip to content

Fixes #10443#10448

Merged
acdlite merged 1 commit intofacebook:masterfrom
fxfactorial:master
Aug 12, 2017
Merged

Fixes #10443#10448
acdlite merged 1 commit intofacebook:masterfrom
fxfactorial:master

Conversation

@fxfactorial
Copy link
Contributor

No description provided.

Copy link
Collaborator

@acdlite acdlite left a 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.

var ReactNativeFiberRenderer = require('ReactNativeFiberRenderer');
var {ReactCurrentOwner} = require('ReactGlobalSharedState');

var getComponentName = require('getComponentName.js');
Copy link
Collaborator

Choose a reason for hiding this comment

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

Remove the .js extension

'render, such as refs. Move this logic to componentDidMount and ' +
'componentDidUpdate instead.',
owner.getName() || 'A component',
getComponentName(owner)
Copy link
Collaborator

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',

@fxfactorial
Copy link
Contributor Author

fxfactorial commented Aug 12, 2017

@acdlite Done, I forgot that FB prefers trailing ,, force pushed

@fxfactorial
Copy link
Contributor Author

@acdlite I think that should cover it.

@acdlite acdlite merged commit 2cd0ecd into facebook:master Aug 12, 2017
@acdlite
Copy link
Collaborator

acdlite commented Aug 12, 2017

Thanks!

@gaearon
Copy link
Collaborator

gaearon commented Aug 23, 2017

This is not enough to fix the issue. Please see #10518.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants