React hook for checking if the component is mounted.
github.com/fabiospampinato/react-use-mounted
fabiospampinato/react-use-mounted