dillon1000/react
Commit
Browse files Don't schedule NoWork as the next work
We currently only filter out "NoWork" in the beginning of this function. If the NoWork root is after the one with work it will show up in the second loop. There's probably a more efficient way of doing this but this works for now. This showed up in this PR because a new unit test gets unblocked which ends up with this case.
Changed paths1 file
First-parent comparisonsrc/renderers/shared/fiber/ReactFiberScheduler.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…