MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / isContextProvider

Function isContextProvider

code/dependency-injection/public/app.js:12449–12451  ·  view source on GitHub ↗
(fiber)

Source from the content-addressed store, hash-verified

12447 }
12448
12449 function isContextProvider(fiber) {
12450 return fiber.tag === ClassComponent && fiber.type.childContextTypes != null;
12451 }
12452
12453 function popContextProvider(fiber) {
12454 if (!isContextProvider(fiber)) {

Callers 5

getUnmaskedContextFunction · 0.70
popContextProviderFunction · 0.70
pushContextProviderFunction · 0.70
getContextForSubtreeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected