MCPcopy Create free account
hub / github.com/gaearon/react-hot-loader / componentDidMount

Method componentDidMount

examples/decorators/src/Counter.js:8–10  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6 state = { count: 0 };
7
8 componentDidMount() {
9 this.interval = setInterval(this.increment, 200);
10 }
11
12 componentWillUnmount() {
13 clearInterval(this.interval);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected