dillon1000/react

Commit

[bugfix] Fix false positive render phase update (#16907)

Need to reset the current "debug phase" inside the catch block.
Otherwise React thinks we're still in the render phase during the
subsequent event.
Browse files
Changed paths2 files
First-parent comparison
M packages/react-reconciler/src/ReactFiberWorkLoop.js ModifiedM packages/react-reconciler/src/__tests__/ReactSuspenseWithNoopRenderer-test.internal.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…