The hook version of customRef from @vue/reactivity.
customRef
@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.
https://vuejs.org/api/reactivity-advanced.html#customref
The function that receives the track and trigger callbacks.
track
trigger
Generated using TypeDoc
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