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

Set this.mounted to false when dynamic component is unmounted #4333

Merged
merged 1 commit into from
May 11, 2018

Conversation

wereHamster
Copy link
Contributor

Otherwise you may get a React warning about calling setState() on an unmounted component.

Otherwise you may get a React warning about calling setState() on an unmounted component.
Copy link
Contributor

@arunoda arunoda left a comment

Choose a reason for hiding this comment

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

LGTM

@timneutkens timneutkens merged commit 7f62132 into vercel:canary May 11, 2018
lependu pushed a commit to lependu/next.js that referenced this pull request Jun 19, 2018
…el#4333)

Otherwise you may get a React warning about calling setState() on an unmounted component.
@lock lock bot locked as resolved and limited conversation to collaborators May 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants