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

Method render

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

Source from the content-addressed store, hash-verified

1317 class Cls extends React.Component {
1318 state = {};
1319 render() {
1320 this.setState(() => {
1321 readContext(ThemeContext);
1322 });
1323 return null;
1324 }
1325 }
1326
1327 ReactNoop.render(<Cls />);

Callers

nothing calls this directly

Calls 1

readContextFunction · 0.70

Tested by

no test coverage detected