DEV Community

Anjali Gurjar
Anjali Gurjar

Posted on

Debouncing & throttling

Debouncing postpones the execution until after a period of inactivity, while throttling limits the execution to a fixed number of times over an interval. Use Cases: Debouncing is ideal for tasks that don't need to execute repeatedly in quick succession, such as API calls based on user input.

Top comments (0)