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

Function cacheContext

code/composition/public/app.js:12446–12450  ·  view source on GitHub ↗
(workInProgress, unmaskedContext, maskedContext)

Source from the content-addressed store, hash-verified

12444 }
12445
12446 function cacheContext(workInProgress, unmaskedContext, maskedContext) {
12447 var instance = workInProgress.stateNode;
12448 instance.__reactInternalMemoizedUnmaskedChildContext = unmaskedContext;
12449 instance.__reactInternalMemoizedMaskedChildContext = maskedContext;
12450 }
12451
12452 function getMaskedContext(workInProgress, unmaskedContext) {
12453 var type = workInProgress.type;

Callers 2

constructClassInstanceFunction · 0.70
getMaskedContextFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected