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

Function cacheContext

code/communication/public/app.js:12343–12347  ·  view source on GitHub ↗
(workInProgress, unmaskedContext, maskedContext)

Source from the content-addressed store, hash-verified

12341 }
12342
12343 function cacheContext(workInProgress, unmaskedContext, maskedContext) {
12344 var instance = workInProgress.stateNode;
12345 instance.__reactInternalMemoizedUnmaskedChildContext = unmaskedContext;
12346 instance.__reactInternalMemoizedMaskedChildContext = maskedContext;
12347 }
12348
12349 function getMaskedContext(workInProgress, unmaskedContext) {
12350 var type = workInProgress.type;

Callers 2

constructClassInstanceFunction · 0.70
getMaskedContextFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected