@ehsaneha/react-throttle
Version:
useThrottle is a custom React hook that limits how often a function can be called by ensuring it's invoked at most once within a specified delay period.
2 lines (1 loc) • 12 B
TypeScript
useThrottle is a custom React hook that limits how often a function can be called by ensuring it's invoked at most once within a specified delay period.