Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
June 10, 2015 07:04 pm GMT

The Difference Between Throttling and Debouncing

I got these confused the other day and someone corrected me. So I tossed it on the ol' list of blog post ideas and here we are. Both of them are ways to limit the amount of JavaScript you are executing based on DOM events for performance reasons. But they are, you guessed it, different.

Throttling enforces a maximum number of times a function can be called over time. As in "execute this function at most once every 100 milliseconds."…


The Difference Between Throttling and Debouncing is a post from CSS-Tricks


Original Link: https://css-tricks.com/the-difference-between-throttling-and-debouncing/

Share this article:    Share on Facebook
View Full Article

CSS Tricks

A Web Design Community curated by Chris Coyier

More About this Source Visit CSS Tricks