MCPcopy Index your code
hub / github.com/krasimir/react-in-patterns / cacheContext

Function cacheContext

code/redux/public/app.js:12559–12563  ·  view source on GitHub ↗
(workInProgress, unmaskedContext, maskedContext)

Source from the content-addressed store, hash-verified

12557 }
12558
12559 function cacheContext(workInProgress, unmaskedContext, maskedContext) {
12560 var instance = workInProgress.stateNode;
12561 instance.__reactInternalMemoizedUnmaskedChildContext = unmaskedContext;
12562 instance.__reactInternalMemoizedMaskedChildContext = maskedContext;
12563 }
12564
12565 function getMaskedContext(workInProgress, unmaskedContext) {
12566 var type = workInProgress.type;

Callers 2

constructClassInstanceFunction · 0.70
getMaskedContextFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected