UNPKG

@utilityjs/use-is-mounted

Version:

A React hook that returns `true` if the component is mounted.

3 lines (2 loc) 80 B
declare const useIsMounted: () => (() => boolean); export default useIsMounted;