import { useDebounceValue } from "https://deno.land/x/netzo@0.4.72/deps/usehooks-ts.ts";
Returns a debounced version of the provided value, along with a function to update it.
Examples
const [debouncedValue, updateDebouncedValue] = useDebounceValue(inputValue, 500, { leading: true });
const [debouncedValue, updateDebouncedValue] = useDebounceValue(inputValue, 500, { leading: true });