@utilityjs/use-is-mounted

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

Browse on unpkg