MCPcopy Create free account
hub / github.com/plotly/dash / scheduleRoot

Function scheduleRoot

dash/deps/react-dom@18.3.1.js:27849–27863  ·  view source on GitHub ↗
(root, element)

Source from the content-addressed store, hash-verified

27847 }
27848 };
27849 var scheduleRoot = function (root, element) {
27850 {
27851 if (root.context !== emptyContextObject) {
27852 // Super edge case: root has a legacy _renderSubtree context
27853 // but we don't know the parentComponent so we can't pass it.
27854 // Just ignore. We'll delete this with _renderSubtree code path later.
27855 return;
27856 }
27857
27858 flushPassiveEffects();
27859 flushSync(function () {
27860 updateContainer(element, root, null, null);
27861 });
27862 }
27863 };
27864
27865 function scheduleFibersWithFamiliesRecursively(fiber, updatedFamilies, staleFamilies) {
27866 {

Callers

nothing calls this directly

Calls 3

flushPassiveEffectsFunction · 0.70
flushSyncFunction · 0.70
updateContainerFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…