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

Function isContextProvider

code/communication/public/app.js:12391–12393  ·  view source on GitHub ↗
(fiber)

Source from the content-addressed store, hash-verified

12389 }
12390
12391 function isContextProvider(fiber) {
12392 return fiber.tag === ClassComponent && fiber.type.childContextTypes != null;
12393 }
12394
12395 function popContextProvider(fiber) {
12396 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