DEV Community

Discussion on: Using refs to check if a component is still mounted.

Collapse
 
tusharkashyap63 profile image
Tushar Kashyap • Edited

Yeah agreed, but the real deal is that we have a method to check if a component is unmounted, we can use it anywhere we feel the need to have this functionality.