dillon1000/react
Commit
Browse files Capture the source and not just the stack on first seen error (#31367)
Otherwise we can't capture the owner stack at the right location when there's a rethrow.
Changed paths3 files
First-parent comparisonpackages/react-noop-renderer/src/createReactNoop.js ModifiedM packages/react-reconciler/src/ReactCapturedValue.js ModifiedM packages/react-reconciler/src/__tests__/ReactErrorStacks-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…