()
| 4 | state = { count: 0 }; |
| 5 | |
| 6 | componentDidMount() { |
| 7 | this.interval = setInterval(() => this.setState(prevState => ({ count: prevState.count + 1 })), 200); |
| 8 | } |
| 9 | |
| 10 | componentWillUnmount() { |
| 11 | clearInterval(this.interval); |
nothing calls this directly
no outgoing calls
no test coverage detected