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

Function isContextProvider

code/composition/public/app.js:12494–12496  ·  view source on GitHub ↗
(fiber)

Source from the content-addressed store, hash-verified

12492 }
12493
12494 function isContextProvider(fiber) {
12495 return fiber.tag === ClassComponent && fiber.type.childContextTypes != null;
12496 }
12497
12498 function popContextProvider(fiber) {
12499 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