Function useCleanup

  • Hook for running the callback once on umount.

    Parameters

    • callback: (() => void)

      The callback to be invoked on unrounding.

        • (): void
        • Returns void

    Returns void

Generated using TypeDoc