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

Only read digest from error instance #49132

Merged
merged 2 commits into from May 3, 2023

Conversation

timneutkens
Copy link
Member

@timneutkens timneutkens commented May 3, 2023

What?

Changes onRecoverableError to no longer read errorInfo.digest. In an earlier version of react@next the digest was provided on the errorInfo object but this is no longer the case and triggers a warning when read.

Fixes https://twitter.com/devcassa/status/1653505341194137600

@timneutkens
Copy link
Member Author

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

feedthejim
feedthejim previously approved these changes May 3, 2023
@timneutkens timneutkens merged commit ffa23d2 into canary May 3, 2023
99 of 101 checks passed
@timneutkens timneutkens deleted the 05-03-Only_read_digest_from_error_instance branch May 3, 2023 09:21
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants