MCPcopy Index your code
hub / github.com/react/react / B

Class B

packages/react-dom/src/__tests__/ReactUpdates-test.js:698–704  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

696 }
697
698 class B extends React.Component {
699 state = {x: 0};
700
701 render() {
702 return <div>B{this.state.x}</div>;
703 }
704 }
705
706 const container = document.createElement('div');
707 const root = ReactDOMClient.createRoot(container);

Callers 1

ifFunction · 0.70

Calls

no outgoing calls

Tested by 1

ifFunction · 0.56