Skip to content

Fixes #10443#10448

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

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

Conversation

@fxfactorial

Copy link
Copy Markdown
Contributor

No description provided.

@acdlite acdlite left a comment

Copy link
Copy Markdown
Collaborator

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.

Comment thread src/renderers/native/findNodeHandle.js Outdated
var ReactNativeFiberRenderer = require('ReactNativeFiberRenderer');
var {ReactCurrentOwner} = require('ReactGlobalSharedState');

var getComponentName = require('getComponentName.js');

Copy link
Copy Markdown
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

Comment thread src/renderers/native/findNodeHandle.js Outdated
'render, such as refs. Move this logic to componentDidMount and ' +
'componentDidUpdate instead.',
owner.getName() || 'A component',
getComponentName(owner)

Copy link
Copy Markdown
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

fxfactorial commented Aug 12, 2017

Copy link
Copy Markdown
Contributor Author

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

@fxfactorial

Copy link
Copy Markdown
Contributor Author

@acdlite I think that should cover it.

@acdlite acdlite merged commit 2cd0ecd into react:master Aug 12, 2017
@acdlite

acdlite commented Aug 12, 2017

Copy link
Copy Markdown
Collaborator

Thanks!

@gaearon

gaearon commented Aug 23, 2017

Copy link
Copy Markdown
Collaborator

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