dillon1000/react
Commit
Browse files Don't visit siblings of the coroutine when looking for yields
When visiting the yields, the root is the stateNode of the coroutine. If its return value is wrong we'll end up at the alternate of the workInProgress which will start scanning its children which is wrong.
Changed paths1 file
First-parent comparisonsrc/renderers/shared/fiber/ReactFiberCompleteWork.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…