dillon1000/react
Commit
Browse files Temporarily disable suspending during work loop (#30762)
### Based on - #30761 - #30759 --- `use` has an optimization where in some cases it can suspend the work loop during the render phase until the data has resolved, rather than unwind the stack and lose context. However, the current implementation is not compatible with sibling prerendering. So I've temporarily disabled it until the sibling prerendering has been refactored. We will add it back in a later step.
Changed paths3 files
First-parent comparisonpackages/react-reconciler/src/ReactFiberWorkLoop.js ModifiedM packages/react-reconciler/src/__tests__/ReactUse-test.js ModifiedM scripts/jest/TestFlags.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…