UNPKG

@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.

17 lines 399 B
{ "compilerOptions": { "target": "ES6", "module": "ESNext", "jsx": "react", "declaration": true, "outDir": "dist", "esModuleInterop": true, "skipLibCheck": true, "moduleResolution": "node", "forceConsistentCasingInFileNames": true, "strict": true, "noImplicitAny": true, }, "include": ["src"], "exclude": ["node_modules", "dist"] }