-
Notifications
You must be signed in to change notification settings - Fork 47.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[#9627] Fix create-react-class isMounted ordering issue #9638
Conversation
Split the IsMountedMixin in two so that the __isMounted flag is set to false after componentWillUnmount is executed in mixins and the component.
The sad part is there's no automated way to do it. 😞 I can do it again, but I'd like to make sure we did all changes we want to first. |
Looks great. Flow failure seems unrelated—if it continues after merge I'll investigate. Thanks! |
(I confirmed the test replicates 15.4.x behavior) |
…book#9638) * [facebook#9627] Fix create-react-class isMounted ordering issue Split the IsMountedMixin in two so that the __isMounted flag is set to false after componentWillUnmount is executed in mixins and the component. * Revert changes to integration test
Split the IsMountedMixin in two so that the __isMounted flag is set to false after componentWillUnmount is executed in mixins and the component.
Fixes #9627
@acdlite I wasn't sure how to build the create-react-class.js and create-react-class.min.js.
yarn build
did not seem to touch those files.