Hacker News new | ask | show | jobs
by paxys 1983 days ago
Uh, what do you think jQuery is written in?
2 comments

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.

The point is doing the translation on the server.