MCPcopy
hub / github.com/react/react / pushCacheProvider

Function pushCacheProvider

packages/react-reconciler/src/ReactFiberCacheComponent.js:120–122  ·  view source on GitHub ↗
(workInProgress: Fiber, cache: Cache)

Source from the content-addressed store, hash-verified

118}
119
120export function pushCacheProvider(workInProgress: Fiber, cache: Cache) {
121 pushProvider(workInProgress, CacheContext, cache);
122}
123
124export function popCacheProvider(workInProgress: Fiber, cache: Cache) {
125 popProvider(CacheContext, workInProgress);

Callers 3

updateCacheComponentFunction · 0.90
updateHostRootFunction · 0.90

Calls 1

pushProviderFunction · 0.90

Tested by

no test coverage detected