Documentation
State
useMounted

useMounted

useMounted hook return a boolean value that indicates whether the component is mounted or not.

Demo

Is mounted: No

Usage

import {useMounted} from "@reactusehooks/core";
const isMounted = useMounted()