Re:You might not need jQuery (2014)
by abiogenesis on Thursday January 14, 2021 @01:33AM
(#25772908)
What we need is a Jquery-to-VanillaJS transpiler.
[ Parent
| on HN ]
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.