Skip to content

Conversation

@jdelStrother
Copy link
Contributor

The child-function is never called with a state of 'unmounted', since render() bails early in that case.

The child-function is never called with a state of 'unmounted'
@taion
Copy link
Member

taion commented May 7, 2019

Is that behavior correct, though?

@jdelStrother
Copy link
Contributor Author

I would have thought so. You wouldn't want the child-function to be called after unmount, right?

@silvenon
Copy link
Collaborator

Yep, this is true, just checked. Thanks!

@silvenon silvenon merged commit 3f5cb65 into reactjs:master May 12, 2019
@silvenon
Copy link
Collaborator

Deployed docs with the patch. ✅

@jquense
Copy link
Collaborator

jquense commented May 30, 2019

🎉 This PR is included in version 4.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

4 participants