use-is-mounted-ref

📦 useIsMountedRef is a React Hook to check when the component is mounted.

@livelybone/use-mounted

React hook for mounted and unmount, return an object: MutableRefObject<{ mounted: boolean, unmounted: boolean }>