MCPcopy Create free account
hub / github.com/reactjs/react-rails / cacheContext

Function cacheContext

lib/assets/react-source/development/react.js:14402–14408  ·  view source on GitHub ↗
(workInProgress, unmaskedContext, maskedContext)

Source from the content-addressed store, hash-verified

14400 }
14401
14402 function cacheContext(workInProgress, unmaskedContext, maskedContext) {
14403 {
14404 var instance = workInProgress.stateNode;
14405 instance.__reactInternalMemoizedUnmaskedChildContext = unmaskedContext;
14406 instance.__reactInternalMemoizedMaskedChildContext = maskedContext;
14407 }
14408 }
14409
14410 function getMaskedContext(workInProgress, unmaskedContext) {
14411 {

Callers 2

getMaskedContextFunction · 0.85
constructClassInstanceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected