Skip to content
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

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

Closed
gaearon opened this issue Aug 23, 2017 · 1 comment
Closed
Assignees

Comments

@gaearon
Copy link
Collaborator

gaearon commented Aug 23, 2017

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.

@gaearon gaearon mentioned this issue Aug 23, 2017
gaearon added a commit to gaearon/react that referenced this issue Aug 23, 2017
@bvaughn
Copy link
Contributor

bvaughn commented Aug 23, 2017

I'm on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants