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

Function cacheContext

code/event-handlers/public/app.js:11638–11642  ·  view source on GitHub ↗
(workInProgress, unmaskedContext, maskedContext)

Source from the content-addressed store, hash-verified

11636 }
11637
11638 function cacheContext(workInProgress, unmaskedContext, maskedContext) {
11639 var instance = workInProgress.stateNode;
11640 instance.__reactInternalMemoizedUnmaskedChildContext = unmaskedContext;
11641 instance.__reactInternalMemoizedMaskedChildContext = maskedContext;
11642 }
11643
11644 function getMaskedContext(workInProgress, unmaskedContext) {
11645 var type = workInProgress.type;

Callers 2

constructClassInstanceFunction · 0.70
getMaskedContextFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected