Skip to content

Conversation

@gaearon
Copy link
Collaborator

@gaearon gaearon commented Jun 7, 2017

#9580 accidentally added a branch that didn’t memoize state for the root.
DevTools relies on root's memoizedState to tell if we're mounting or unmounting.
This should fix it.

Test plan: verified this fixes an issue in another app I'm debugging with a version from master.

Copy link
Collaborator

@sebmarkbage sebmarkbage left a comment

Choose a reason for hiding this comment

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

Thanks!

@gaearon gaearon force-pushed the gaearon-patch-9 branch from beb1c98 to 2655198 Compare June 7, 2017 18:49
@gaearon gaearon merged commit 80fffbe into master Jun 7, 2017
@gaearon gaearon deleted the gaearon-patch-9 branch June 7, 2017 23:57
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