dillon1000/react
Commit
Browse files Fix error logging in getDerivedStateFromProps (#15797)
* Fix error logging in getDerivedStateFromProps * Update tests, don't log for both error boundary methods * Re-add change lost in rebase
Changed paths4 files
First-parent comparisonpackages/react-dom/src/__tests__/ReactErrorBoundaries-test.internal.js ModifiedM packages/react-dom/src/__tests__/ReactLegacyErrorBoundaries-test.internal.js ModifiedM packages/react-reconciler/src/ReactFiberThrow.js ModifiedM scripts/jest/matchers/toWarnDev.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…