useMounted
A function that returns the mounted state of the component it's called in.
Demo
not mounted
Usage
Which is a shorthand for one of the following:
or
A function that returns the mounted state of the component it's called in.
not mounted
Which is a shorthand for one of the following:
or