use-throttled-state
Throttles state changes
Source
Docs
PackageIcon
Usage
The useThrottledState hook works similarly to useState but throttles state updates.
The setThrottledState handler in the example below will be called at most once every 1000ms.
Throttled value: –