Function useInitial

  • Hook for running the callback once on mount.

    Parameters

    • callback: (() => void) | (() => Promise<void>)

      The callback to be invoked on mounting.

    Returns void

Generated using TypeDoc