• The hook version of customRef from @vue/reactivity.

    This hook version allows the ref to be created when the component first renders, then cached for future re-renders.


    Creates a customized ref with explicit control over its dependency tracking and updates triggering.

    See

    https://vuejs.org/api/reactivity-advanced.html#customref

    Type Parameters

    • T

    Parameters

    • factory: CustomRefFactory<T>

      The function that receives the track and trigger callbacks.

    Returns Ref<T>

Generated using TypeDoc