use-throttled-callback
Throttles function calls
Import
Source
Docs
Package
Usage
useThrottledCallback
accepts a function and a wait time in milliseconds.
It returns a throttled version of the function that will only be called at most once every wait
milliseconds.
Throttled value: –