Loading...
Loading...
ALWAYS use when writing code importing "@vueuse/shared". Consult for debugging, best practices, or modifying @vueuse/shared, vueuse/shared, vueuse shared, vueuse.
npx skill4agent add harlan-zw/vue-ecosystem-skills vueuse-shared-skilld@vueuse/shareduseThrottleFncreateSharedComposablerefManualResetreset()watchAtMostpauseresumecounttryOnScopeDisposefailSilentlyuseArrayReduceUseArrayReduceReturncomputedWithControlcomputedEagercomputedwatchPausablewatchpausableFilterignorableWatchwatchIgnorableeagerComputedcomputedEagercontrolledComputedcomputedWithControlcreateReactiveFnautoResetRefdebouncedRefuseDebouncethrottledRefuseThrottlecontrolledRefdebouncedWatchignorableWatchpausableWatchthrottledWatchcomputed()computedEager()createSharedComposable()provideLocal()injectLocal()until()// Preferred for one-time triggers
await until(isReady).toBe(true)
doSomething()refManualReset().reset()reactify()ComputedRefrefWithControl()peek()lay()makeDestructurable()syncRef()transformltrrtl// Sync a number ref with a string ref
syncRef(count, stringCount, {
transform: {
ltr: left => String(left),
rtl: right => Number(right)
}
})createGlobalState()