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