dillon1000/react

Commit

Fork performWork instead of using boolean flag (#15169)

I inline it into performAsyncWork instead.

Code that was only relevant to the async callback had leaked into the
performWork call which is an indication that this was a bad abstraction
and therefore the wrong place to DRY.

By inlining I also discovered that minExpirationTime is actually irrelevant
in the yieldy case so we can clean that up.
Browse files
Changed paths1 file
First-parent comparison
M packages/react-reconciler/src/ReactFiberScheduler.old.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…