MCPcopy Create free account
hub / github.com/plotly/dash / cacheContext

Function cacheContext

dash/deps/react-dom@18.3.1.js:11803–11809  ·  view source on GitHub ↗
(workInProgress, unmaskedContext, maskedContext)

Source from the content-addressed store, hash-verified

11801 }
11802
11803 function cacheContext(workInProgress, unmaskedContext, maskedContext) {
11804 {
11805 var instance = workInProgress.stateNode;
11806 instance.__reactInternalMemoizedUnmaskedChildContext = unmaskedContext;
11807 instance.__reactInternalMemoizedMaskedChildContext = maskedContext;
11808 }
11809 }
11810
11811 function getMaskedContext(workInProgress, unmaskedContext) {
11812 {

Callers 2

getMaskedContextFunction · 0.70
constructClassInstanceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…