dillon1000/react
Commit
Browse files [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.
Changed paths2 files
First-parent comparisonpackages/react-reconciler/src/ReactFiberWorkLoop.js ModifiedM packages/react-reconciler/src/__tests__/ReactSuspenseWithNoopRenderer-test.internal.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…