News for hackers. Stuff that matters.
Re:You might not need jQuery (2014) by paxys on Thursday January 14, 2021 @04:35AM (#25774175)
Uh, what do you think jQuery is written in?
Re:You might not need jQuery (2014) by abiogenesis on Sunday January 17, 2021 @06:12PM (#25816238)
jQuery is written in JS, but if your code is using jQuery functions you are not writing "vanilla JS" anymore. Otherwise we wouldn't need the term "vanilla JS".

What I meant was inlining the jQuery calls to their equivalent JS snippets, removing the need for including a 80K library if you are not overly dependent on jQuery. It was also a tongue-in-cheek comment.

Re:You might not need jQuery (2014) by noisem4ker on Thursday January 14, 2021 @09:26AM (#25776603)
The point is doing the translation on the server.