DEV Community

loading...

Discussion on: JavaScript - debounce vs throttle ⏱

Collapse
iyashsoni profile image
Yash Soni Author

That was exactly the aim. We rely so much on the libraries that sometimes we don’t even care about learning how it actually works, let alone raising question on whether the library is really needed in the first place.

Collapse
sebring profile image
J. G. Sebring

Yes indeed, and before you know it the bloat is real. So many times I've seen _ and $ added just for some trivial task used in one function they've added. Where most frameworks already have similar functions or better/preferred ways to do things (DOM-manipulation being the classic example)