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

Function scheduleRefresh

docs/external/js/react-dom.development.js:11751–11765  ·  view source on GitHub ↗
(root, update)

Source from the content-addressed store, hash-verified

11749 }
11750 }
11751 var scheduleRefresh = function (root, update) {
11752 {
11753 if (resolveFamily === null) {
11754 // Hot reloading is disabled.
11755 return;
11756 }
11757
11758 var staleFamilies = update.staleFamilies,
11759 updatedFamilies = update.updatedFamilies;
11760 flushPassiveEffects();
11761 flushSync(function () {
11762 scheduleFibersWithFamiliesRecursively(root.current, updatedFamilies, staleFamilies);
11763 });
11764 }
11765 };
11766 var scheduleRoot = function (root, element) {
11767 {
11768 if (root.context !== emptyContextObject) {

Callers

nothing calls this directly

Calls 3

flushPassiveEffectsFunction · 0.85
flushSyncFunction · 0.85

Tested by

no test coverage detected