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

[Fiber] Remove the digest property from errorInfo passed to onRecoverableError #28222

Merged
merged 1 commit into from
Mar 28, 2024

Conversation

gnoff
Copy link
Collaborator

@gnoff gnoff commented Feb 2, 2024

Removes the digest property from errorInfo passed to onRecoverableError when handling an error propagated from the server. Previously we warned in Dev but still provided the digest on the errorInfo object. This change removes digest from error info but continues to warn if it is accessed. The reason for retaining the warning is the version with the warning was not released as stable but we will include this deprecated removal in our next major so we should communicate this change at runtime.

…or when handling an error propagated from the server. Previously we warned in Dev but still provided the digest on the errorInfo object. This change removes digest from error info but continues to warn if it is accessed. The reason for retaining the warning is the version with the warning was not released as stable but we will include this deprecated removal in our next major so we should communicate this change at runtime.
@facebook-github-bot facebook-github-bot added CLA Signed React Core Team Opened by a member of the React Core Team labels Feb 2, 2024
@react-sizebot
Copy link

Comparing: 2efa383...6000fee

Critical size changes

Includes critical production bundles, as well as any change greater than 2%:

Name +/- Base Current +/- gzip Base gzip Current gzip
oss-stable/react-dom/cjs/react-dom.production.min.js = 176.57 kB 176.55 kB = 55.00 kB 54.99 kB
oss-experimental/react-dom/cjs/react-dom.production.min.js = 178.69 kB 178.68 kB = 55.64 kB 55.63 kB
facebook-www/ReactDOM-prod.classic.js = 591.32 kB 591.27 kB = 104.34 kB 104.32 kB
facebook-www/ReactDOM-prod.modern.js = 575.08 kB 575.02 kB = 101.43 kB 101.41 kB
test_utils/ReactAllWarnings.js Deleted 67.56 kB 0.00 kB Deleted 16.59 kB 0.00 kB

Significant size changes

Includes any change greater than 0.2%:

Expand to show
Name +/- Base Current +/- gzip Base gzip Current gzip
test_utils/ReactAllWarnings.js Deleted 67.56 kB 0.00 kB Deleted 16.59 kB 0.00 kB

Generated by 🚫 dangerJS against 6000fee

@gnoff gnoff added the React 19 label Mar 13, 2024
@gnoff gnoff merged commit 299a9c0 into facebook:main Mar 28, 2024
36 checks passed
@gnoff gnoff deleted the remove-digest-from-error-info branch March 28, 2024 15:01
github-actions bot pushed a commit that referenced this pull request Mar 28, 2024
…ableError (#28222)

Removes the digest property from errorInfo passed to onRecoverableError
when handling an error propagated from the server. Previously we warned
in Dev but still provided the digest on the errorInfo object. This
change removes digest from error info but continues to warn if it is
accessed. The reason for retaining the warning is the version with the
warning was not released as stable but we will include this deprecated
removal in our next major so we should communicate this change at
runtime.

DiffTrain build for [299a9c0](299a9c0)
EdisonVan pushed a commit to EdisonVan/react that referenced this pull request Apr 15, 2024
…ableError (facebook#28222)

Removes the digest property from errorInfo passed to onRecoverableError
when handling an error propagated from the server. Previously we warned
in Dev but still provided the digest on the errorInfo object. This
change removes digest from error info but continues to warn if it is
accessed. The reason for retaining the warning is the version with the
warning was not released as stable but we will include this deprecated
removal in our next major so we should communicate this change at
runtime.
bigfootjon pushed a commit that referenced this pull request Apr 18, 2024
…ableError (#28222)

Removes the digest property from errorInfo passed to onRecoverableError
when handling an error propagated from the server. Previously we warned
in Dev but still provided the digest on the errorInfo object. This
change removes digest from error info but continues to warn if it is
accessed. The reason for retaining the warning is the version with the
warning was not released as stable but we will include this deprecated
removal in our next major so we should communicate this change at
runtime.

DiffTrain build for commit 299a9c0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed React Core Team Opened by a member of the React Core Team React 19
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants