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

Function prepareToReadContext

docs/index.js:10715–10720  ·  view source on GitHub ↗
(workInProgress)

Source from the content-addressed store, hash-verified

10713 return !1;
10714}
10715function prepareToReadContext(workInProgress) {
10716 currentlyRenderingFiber = workInProgress;
10717 lastContextDependency = null;
10718 workInProgress = workInProgress.dependencies;
10719 null !== workInProgress && (workInProgress.firstContext = null);
10720}
10721function readContext(context) {
10722 return readContextForConsumer(currentlyRenderingFiber, context);
10723}

Callers 6

updateForwardRefFunction · 0.85
updateFunctionComponentFunction · 0.85
replayFunctionComponentFunction · 0.85
updateClassComponentFunction · 0.85
beginWorkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…