dillon1000/react

Commit

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.
Browse files
Changed paths1 file
First-parent comparison
M src/renderers/dom/fiber/ReactDOMFiber.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…