useDebouncedValue
API
import useDebouncedValue from '@restart/hooks/useDebouncedValue'
useDebouncedValue
<TValue>(value: TValue, delayMs: number) => TValueDebounce a value change by a specified number of milliseconds. Useful when you want need to trigger a change based on a value change, but want to defer changes until the changes reach some level of infrequency.
Parameters
value
TValuedelayMs
number
Return Value TValue