Hacker News new | past | comments | ask | show | jobs | submit login

I've noticed this a trend lately. Why does everyone suddenly hate jQuery?

Instead, I've noticed everyone re-inventing the wheel. Take Bootstrap5, which "eliminated jquery and we wrote our own!" but now, it is much much larger. Then your next framework does the same, and so on, now we're downloading 1mb of javascript files just to display grandma's 160 byte tweet.




Nobody "hates" jQuery. Code and libraries are a liability. All people care about is getting their job done and going home.

This "trend" has been like 5+ years in the making. And it's simply a result of jQuery becoming less necessary as core JavaScript in the browser gains features.


One particular reason is that it can be hard to avoid or get rid of, if you are using third party UI modules- even "modern" ones, intended for use in a framework like Angular, might use jQuery as a dependency.

This is also problematic if your project has a dependency tree that needs multiple (incompatible) versions of jQuery.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: