MCPcopy Create free account
hub / github.com/caseywebdev/react-list / scheduleRefresh

Function scheduleRefresh

docs/index.js:18795–18807  ·  view source on GitHub ↗
(root, update)

Source from the content-addressed store, hash-verified

18793 (updateContainerSync(element, root, null, null), flushSyncWork$1());
18794 }
18795 function scheduleRefresh(root, update) {
18796 if (null !== resolveFamily) {
18797 var staleFamilies = update.staleFamilies;
18798 update = update.updatedFamilies;
18799 flushPassiveEffects();
18800 scheduleFibersWithFamiliesRecursively(
18801 root.current,
18802 update,
18803 staleFamilies
18804 );
18805 flushSyncWork$1();
18806 }
18807 }
18808 function setRefreshHandler(handler) {
18809 resolveFamily = handler;
18810 }

Callers

nothing calls this directly

Calls 3

flushPassiveEffectsFunction · 0.85
flushSyncWork$1Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…