0.1.1 • Published 5 years ago
@vue-reactivity/use v0.1.1
Install
Functions
Functions are ported from VueUse and this repo only contains the automation script, check the code and made changes in VueUse.
asyncComputed- like computed refsuseAsyncState- reactive async stateuseDebounce- debounce execution of a ref valueuseDebounceFn- debounce execution of a functionuseRefHistory- track the change history of a refuseThrottle- throttle changing of a ref valueuseThrottleFn- throttle execution of a functionbiSyncRef- two-way refs synchronizationcontrolledComputed- explicitly define the deps of computedextendRef- add extra attributes to RefmakeDestructurable- make isomorphic destructurable for object and array at the same timesyncRef- keep target refs in sync with a source reftryOnMounted- safeonMountedtryOnUnmounted- safeonUnmountedwhen- promised one-time watch for ref changes
License
MIT