Throttle and debounce visualized
This post was published 4 years ago so it may be outdated.
throttle
and debounce
are two functions widely used in frontend applications but they are confusing and oftentimes used interchangeably even though they are not the same thing. In this article we’ll review both and clarify their differences (or go directly to the interactive demo showcasing the differences).