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

Function popProvider

docs/external/js/react-dom.development.js:12055–12063  ·  view source on GitHub ↗
(providerFiber)

Source from the content-addressed store, hash-verified

12053 }
12054 }
12055 function popProvider(providerFiber) {
12056 var currentValue = valueCursor.current;
12057 pop(valueCursor, providerFiber);
12058 var context = providerFiber.type._context;
12059
12060 {
12061 context._currentValue = currentValue;
12062 }
12063 }
12064 function calculateChangedBits(context, newValue, oldValue) {
12065 if (objectIs(oldValue, newValue)) {
12066 // No change

Callers 3

completeWorkFunction · 0.85
unwindWorkFunction · 0.85
unwindInterruptedWorkFunction · 0.85

Calls 1

popFunction · 0.70

Tested by

no test coverage detected