A React Hook that return a Ref Getter that returns true if the component is unmounted.
Try to click Start Timer, and then click the "Toggle mount" button in one second to see the result.
See API for more details.
Click links below to view source on GitHub.
isUnmounted is a Ref Getter that returns a boolean value.
See Ref Getter for more details.
A Ref Getter that returns true if the component is unmounted.