MCPcopy Create free account
hub / github.com/microsoft/SandDance / cacheContext

Function cacheContext

docs/external/js/react-dom.development.js:10830–10836  ·  view source on GitHub ↗
(workInProgress, unmaskedContext, maskedContext)

Source from the content-addressed store, hash-verified

10828 }
10829
10830 function cacheContext(workInProgress, unmaskedContext, maskedContext) {
10831 {
10832 var instance = workInProgress.stateNode;
10833 instance.__reactInternalMemoizedUnmaskedChildContext = unmaskedContext;
10834 instance.__reactInternalMemoizedMaskedChildContext = maskedContext;
10835 }
10836 }
10837
10838 function getMaskedContext(workInProgress, unmaskedContext) {
10839 {

Callers 2

getMaskedContextFunction · 0.85
constructClassInstanceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected