MCPcopy
hub / github.com/facebook/react / render

Method render

packages/react-reconciler/src/__tests__/ReactNewContext-test.js:1346–1348  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1344 const Context = React.createContext(0);
1345 class Foo extends React.Component {
1346 render() {
1347 return useContext(Context);
1348 }
1349 }
1350 ReactNoop.render(<Foo />);
1351 await waitForThrow(

Callers

nothing calls this directly

Calls 1

useContextFunction · 0.50

Tested by

no test coverage detected