MCPcopy Index your code
hub / github.com/krasimir/react-in-patterns / getContextForSubtree

Function getContextForSubtree

code/redux/public/app.js:14305–14313  ·  view source on GitHub ↗
(parentComponent)

Source from the content-addressed store, hash-verified

14303
14304
14305 function getContextForSubtree(parentComponent) {
14306 if (!parentComponent) {
14307 return emptyObject;
14308 }
14309
14310 var fiber = get(parentComponent);
14311 var parentContext = findCurrentUnmaskedContext(fiber);
14312 return isContextProvider(fiber) ? processChildContext(fiber, parentContext) : parentContext;
14313 }
14314
14315 function scheduleRootUpdate(current, element, currentTime, expirationTime, callback) {
14316 {

Callers 1

Calls 4

getFunction · 0.70
isContextProviderFunction · 0.70
processChildContextFunction · 0.70

Tested by

no test coverage detected