Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

React Unmounting Lifecycle Method

 componentWillUnmount(prevProps, prevState) {    clearInterval(this.interval);}
Source by www.codecademy.com #
 
PREVIOUS NEXT
Tagged: #React #Unmounting #Lifecycle #Method
ADD COMMENT
Topic
Name
6+6 =