News for hackers. Stuff that matters.
Re:You might not need jQuery (2014) by heleninboodler on Thursday January 14, 2021 @01:08AM (#25772721)
> In every single example, the jQuery version is basically one or two lines of code, versus 10-15 lines for the alternative.

"Every single example?" Are we reading the same page? I was fairly surprised to find that 75% of the alternatives are literally one-liners. There are a handful that swell up to 10-15 lines of code, but I would say it's a very small portion, far from "every single example."

Re:You might not need jQuery (2014) by ratww on Thursday January 14, 2021 @04:03AM (#25773926)
Also, most of the more complex examples have single-liner equivalents in modern browsers.

This page is just outdated. IE10 is a now deprecated browser whose last release was 4 years ago according to Wikipedia.