MCPcopy Index your code
hub / github.com/microsoft/SandDance / scheduleRoot

Function scheduleRoot

docs/external/js/react-dom.development.js:11766–11780  ·  view source on GitHub ↗
(root, element)

Source from the content-addressed store, hash-verified

11764 }
11765 };
11766 var scheduleRoot = function (root, element) {
11767 {
11768 if (root.context !== emptyContextObject) {
11769 // Super edge case: root has a legacy _renderSubtree context
11770 // but we don't know the parentComponent so we can't pass it.
11771 // Just ignore. We'll delete this with _renderSubtree code path later.
11772 return;
11773 }
11774
11775 flushPassiveEffects();
11776 syncUpdates(function () {
11777 updateContainer(element, root, null, null);
11778 });
11779 }
11780 };
11781
11782 function scheduleFibersWithFamiliesRecursively(fiber, updatedFamilies, staleFamilies) {
11783 {

Callers

nothing calls this directly

Calls 3

flushPassiveEffectsFunction · 0.85
syncUpdatesFunction · 0.85
updateContainerFunction · 0.85

Tested by

no test coverage detected