dillon1000/react
Commit
Browse files Wrap top-level mount and unmount in syncUpdates
For legacy purposes. Only enabled in the DOM renderer. We can remove this in a future release when we enable incremental-by-default. This change is unobservable because syncUpdates actually schedules Task updates when it is called from inside another batch. The correct behavior is to recursively begin another batch of work. We will fix it in a subsequent commit.
Changed paths1 file
First-parent comparisonsrc/renderers/dom/fiber/ReactDOMFiber.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…