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

    Function useAnimationFrameCallback

    • Starts an animation loop after the component is mounted and stops it when the component is unmounted.

      Parameters

      • cb: FrameRequestCallback

        A callback that is invoked on each animation frame.

      Returns void