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

Clean up react devtools warnings on our devtools #969

Merged
merged 2 commits into from
Oct 16, 2019

Conversation

alexcjohnson
Copy link
Collaborator

@alexcjohnson alexcjohnson commented Oct 16, 2019

and remove partially-implemented resolveError, which was making everything
much more complicated, especially when I tried to clean up ComponentErrorBoundary

  • I have added entry in the CHANGELOG.md

and remove partially-implemented resolveError, which was making everything
much more complicated, especially when I tried to clean up ComponentErrorBoundary
};
}

static getDerivedStateFromError(_) {
return {hasError: true};
}
Copy link
Contributor

@Marc-Andre-Rivet Marc-Andre-Rivet Oct 16, 2019

Choose a reason for hiding this comment

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

Not finding code calling this function. How is the state updated to have hasError=true?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@alexcjohnson alexcjohnson merged commit e10c661 into dev Oct 16, 2019
@alexcjohnson alexcjohnson deleted the react-devtools-warnings branch October 16, 2019 23:52
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.

2 participants