@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.
7 lines (6 loc) • 227 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.