• This hook provides a function that returns whether the component is still mounted. This is useful as a check before calling set state operations which will generates a warning when it is called when the component is unmounted.

    Returns

    a function that returns true if the component is still mounted.

    Returns IsMountedFunction

Generated using TypeDoc