Jhey Tompkins
1 min readOct 25, 2018

--

Hey Niels Lucas đź‘‹

That’s actually what debounce is for. You wouldn’t use throttle for the use case you describe. throttling allows a function to fire every X amount of time.

If you don’t want something to happen until the user has stopped interacting for X amount of time, use a debounce 👍

Hope that helps!

--

--

Jhey Tompkins
Jhey Tompkins

Written by Jhey Tompkins

I make awesome things for awesome people!

No responses yet