MCPcopy Create free account
hub / github.com/RobPruzan/react-scratch / ParentContextTest

Function ParentContextTest

src/script.ts:605–612  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

603};
604
605const ParentContextTest = () => {
606 return React.createElement(
607 // @ts-ignore
608 TestContext.Provider,
609 { value: { hello: 10 } },
610 React.createElement(ContextTest, null)
611 );
612};
613
614const DataFetcher = () => {
615 const [data, setData] = React.useState<Array<any>>([]);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected