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

Function popProvider

lib/assets/react-source/development/react.js:15615–15623  ·  view source on GitHub ↗
(providerFiber)

Source from the content-addressed store, hash-verified

15613 }
15614 }
15615 function popProvider(providerFiber) {
15616 var currentValue = valueCursor.current;
15617 pop(valueCursor, providerFiber);
15618 var context = providerFiber.type._context;
15619
15620 {
15621 context._currentValue = currentValue;
15622 }
15623 }
15624 function calculateChangedBits(context, newValue, oldValue) {
15625 if (objectIs(oldValue, newValue)) {
15626 // No change

Callers 3

completeWorkFunction · 0.85
unwindWorkFunction · 0.85
unwindInterruptedWorkFunction · 0.85

Calls 1

popFunction · 0.85

Tested by

no test coverage detected