dillon1000/react

Commit

Replace console.error() with a throw in setTimeout() as last resort exception logging (#13310)

* Add a regression test for #13188

* Replace console.error() with a throw in setTimeout() as last resort

* Fix lint and comment

* Fix tests to check we throw after all

* Fix build tests
Browse files
Changed paths4 files
First-parent comparison
A packages/react-dom/src/__tests__/ReactErrorLoggingRecovery-test.js AddedM packages/react-reconciler/src/ReactFiberCommitWork.js ModifiedM packages/react-reconciler/src/__tests__/ReactIncrementalErrorLogging-test.internal.js ModifiedM scripts/jest/config.build.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…