logoalt Hacker News

xp84 • today at 10:11 PM • 1 reply • view on HN

Serious question: On modern hardware how much performance is jQuery actually taking away from you? Compared to the ridiculous overkill factor of using React for simple static pages, a practice I see everywhere now, the time it takes jQuery to parse seems inconsequential.


Replies

saidinesh5 • today at 10:20 PM

Not sure about "modern hardware" but I think the comparison is between jQuery vs. Vanilla JS on "modern browsers".

My only data point was my Blog felt significantly snappier on my 5 year old phone - especially on bad 4G connections - when i simply ditched jQuery and used Vanilla JS.

> The latest version of jQuery (v4.0.0) is 76.8 kB minified and 27.0 kB minified + gzipped.