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

Function componentDidMount

fixtures/nesting/src/legacy/Greeting.js:16–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14
15class AboutSection extends Component {
16 componentDidMount() {
17 // The modern app is wrapped in StrictMode,
18 // but the legacy bits can still use old APIs.
19 findDOMNode(this);
20 }
21 render() {
22 return (
23 <ThemeContext.Consumer>

Callers

nothing calls this directly

Calls 1

findDOMNodeFunction · 0.90

Tested by

no test coverage detected