dillon1000/react
Commit
Browse files 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
Changed paths4 files
First-parent comparisonpackages/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 ModifiedPatch
Files changed
Rendering syntax-highlighted changes…