Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

lifecycle state: defunct, not mounted

void setStateIfMounted(f) {
  if (mounted) setState(f);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #lifecycle #mounted
ADD COMMENT
Topic
Name
5+2 =