fs-heroes / fsh-website-comments

0 stars 0 forks source link

/tutorials/stimulus/debounce-throttle/ #2

Open utterances-bot opened 3 years ago

utterances-bot commented 3 years ago

Debounce and throttle in Stimulus | Full Stack Heroes

Debounce and throttle give us control over the rate at which a function is called. But do you call them in your stimulus controllers?

https://fullstackheroes.com/stimulusjs/debounce-throttle/

kb1995 commented 3 years ago

Really cool!

JM-Sully commented 3 years ago

Great synopsis, really helpful :)

stevebatcup commented 2 years ago

This just came in really handy for a search bar we are building. Thanks so much Kris

flora-le commented 1 year ago

It works great, thank you !

thedumbtechguy commented 1 year ago

On Rails 7. Esbuild.

 yarn add lodash.debounce
import debounce from "lodash.debounce";