Hacker News new | ask | show | jobs
by sakarisson 2988 days ago
The first time I saw that site, I assumed it was a joke. Seems more to me like it's trying to tell people how nice jQuery is. Who would look at that and walk away with the opinion that jQuery is unnecessary?
3 comments

The idea is that if you're building your own Javascript library, you can avoid the huge dependency of jQuery.

If you're developing a user-facing app, then yeah, jQuery is still pretty darn helpful.

Its 85kb. I wouldn't say its a huge dependency. I rather keep it than having to learn an entirely new framework.
Are you referring to vanilla JS as an entirely new framework?
No, of course not. Vanilla JS is a scripting language. I was referring to React.
I think it is unopinionated. I like it very much because it teaches how to do things in plain javascript.
jQuery is still great for web applications.

The site suggests you try not to make it a dependency if you're writing a JavaScript library. I also suggest vanilla JavaScript for simple pages that need just a smattering of interactivity.