MCPcopy Create free account
hub / github.com/codemistic/Web-Development / componentWillUnmount

Method componentWillUnmount

alarm/src/App.js:66–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64 this.timerID=setInterval(()=>(this.setState({date:new Date()})),1000)
65 }
66 componentWillUnmount(){
67 clearInterval (this.timerID)
68 }
69render(){
70 return (<>
71 <div>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected