dillon1000/react
Commit
Browse files 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.
Changed paths1 file
First-parent comparisonpackages/react-reconciler/src/ReactFiberScheduler.old.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…