dillon1000/react

Commit

Handle errors thrown in gDSFP of a module-style context provider (#13269)

Context should be pushed before calling any user code, so if it errors
the stack unwinds correctly.
Browse files
Changed paths2 files
First-parent comparison
M packages/react-reconciler/src/ReactFiberBeginWork.js ModifiedM packages/react-reconciler/src/__tests__/ReactIncrementalErrorHandling-test.internal.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…