dillon1000/react
Commit
Browse files Consolidate workLoop and deferredWork loop
Solves a few things: - Moves code out of performWork into workLoop so that it can be optimized. - errorLoop (now clearErrors) is no longer called recursively. - Removes a while (true) loop inside performWork (not that it really matters for optimization, since performWork contains a try block and will be deopted, anyway).
Changed paths1 file
First-parent comparisonsrc/renderers/shared/fiber/ReactFiberScheduler.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…