Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 229 Bytes

README.md

File metadata and controls

15 lines (10 loc) · 229 Bytes

useDebounceValue

Delays the update of a value by the specified delay time.

Usage

const Usage = () => {
  const [count, setCount] = useState(0);

  const debouncedCount = useDebounceValue(count, 100);

  ...
};