Skip to content

[Fiber] Calling ReactNative.findNodeHandle() in render() crashes in DEV #10518

@gaearon

Description

@gaearon

Found this while working on #10517.
See #10517 (comment) for more details.

screen shot 2017-08-23 at 1 20 31 pm

screen shot 2017-08-23 at 1 20 56 pm

Now I know this has been fixed in #10448 but that’s not the whole story.

Even if we fixed the Stack-assuming getName() call, we still can't put arbitrary fields on a fiber:

screen shot 2017-08-23 at 1 21 55 pm

For the reference, this is how we work around the problem in ReactDOM.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions