Type alias DetachFunction

DetachFunction: (() => void)

Type declaration

    • (): void
    • Optional detach function to be called on unmount to provide cleanup, e.g. to avoid memory leaks.

      Returns void

Generated using TypeDoc