Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> There is a trend in web dev right now to stop using jQuery because reasons.

One reason is that a lot of jquery’s bulk is compatibility concerns or BC in edges, if you decide that you don’t support old jQuery (mis)behaviour, older APIs, older browsers, … you can probably slim it down a fair bit.

A bunch of utilities you can also probably do without e.g. your jQuery.map, animations stuff, … jQuery is progressively deprecating more and more things, but it’s a harder sell to actually remove them.



Like I said, all the reasons for removing jQuery are valid, but only in the context of the codebase where they are given.

You wouldn't want to remove jQuery from an app that is used by IE9.

People end up hearing the reasons and don't stop to think, hey does this actually apply to my code? What are the trade offs for that 30k of code?

Many just end up rewriting what jQuery did in a non reusable way that contributes to code bloat and bad readability.




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

Search: