Debounce

Verb · Development

Definitions

  1. A technique that delays execution of a function until a specified period of inactivity has passed. Each new trigger resets the timer. Commonly used for search-as-you-type (wait until the user stops typing), window resize handlers, and form auto-save.

    In plain English: Waiting until someone stops doing something (like typing) before reacting, instead of reacting to every single action.

    Example: "Debounce the search input by 300ms — we don't need to hit the API on every keystroke."

Related Terms