UNPKG

@vue-widget/hooks

Version:

hooks from react to vue

3 lines (2 loc) 208 B
import type { Ref, WatchSource } from "vue"; export declare function useMemo<T>(getValue: () => T, condition: (WatchSource<unknown> | object)[], shouldUpdate?: (prev: any[], next: any[]) => boolean): Ref<T>;