MCPcopy Create free account
hub / github.com/caseywebdev/react-list / readContextDuringReconciliation

Function readContextDuringReconciliation

docs/index.js:10724–10727  ·  view source on GitHub ↗
(consumer, context)

Source from the content-addressed store, hash-verified

10722 return readContextForConsumer(currentlyRenderingFiber, context);
10723}
10724function readContextDuringReconciliation(consumer, context) {
10725 null === currentlyRenderingFiber && prepareToReadContext(consumer);
10726 return readContextForConsumer(consumer, context);
10727}
10728function readContextForConsumer(consumer, context) {
10729 var value = context._currentValue;
10730 context = { context: context, memoizedValue: value, next: null };

Callers 4

createChildFunction · 0.85
updateSlotFunction · 0.85
updateFromMapFunction · 0.85
reconcileChildFibersImplFunction · 0.85

Calls 2

prepareToReadContextFunction · 0.85
readContextForConsumerFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…