React Hookers - v6.3.0
    Preparing search index...

    Function useFunctionEffect

    • Calls a function in an effect when any of its arguments have changed since the previous render.

      Type Parameters

      • A extends any[]

        The function arguments.

      Parameters

      • fn: (...args: A) => void | (() => void)

        The function to call.

      • ...args: A

        The function arguments.

      Returns void