use-debounce-state
creates a bottleneck to the definition of a state, limits concurrency.
Module
import { useDebounceState } from "@atomico/hooks/use-debounce-state";Syntax
const [state, setState] = useDebounceState(
delay:number,
initialState: any,
mode?: "fps" | "timeout" | "idle"
);Example
Last updated
Was this helpful?
