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

Function isContextProvider

code/new-context-api/public/app.js:11717–11719  ·  view source on GitHub ↗
(fiber)

Source from the content-addressed store, hash-verified

11715 }
11716
11717 function isContextProvider(fiber) {
11718 return fiber.tag === ClassComponent && fiber.type.childContextTypes != null;
11719 }
11720
11721 function popContextProvider(fiber) {
11722 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