MCPcopy Index your code
hub / github.com/caseywebdev/react-list / refreshCache

Function refreshCache

docs/index.js:8118–8135  ·  view source on GitHub ↗
(fiber)

Source from the content-addressed store, hash-verified

8116 return updateWorkInProgressHook().memoizedState;
8117}
8118function refreshCache(fiber) {
8119 for (var provider = fiber.return; null !== provider; ) {
8120 switch (provider.tag) {
8121 case 24:
8122 case 3:
8123 var lane = requestUpdateLane();
8124 fiber = createUpdate(lane);
8125 var root$63 = enqueueUpdate(provider, fiber, lane);
8126 null !== root$63 &&
8127 (scheduleUpdateOnFiber(root$63, provider, lane),
8128 entangleTransitions(root$63, provider, lane));
8129 provider = { cache: createCache() };
8130 fiber.payload = provider;
8131 return;
8132 }
8133 provider = provider.return;
8134 }
8135}
8136function dispatchReducerAction(fiber, queue, action) {
8137 var lane = requestUpdateLane();
8138 action = {

Callers

nothing calls this directly

Calls 6

requestUpdateLaneFunction · 0.85
createUpdateFunction · 0.85
enqueueUpdateFunction · 0.85
scheduleUpdateOnFiberFunction · 0.85
entangleTransitionsFunction · 0.85
createCacheFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…