4 ms·
What we need is a Jquery-to-VanillaJS transpiler.
by abiogenesis 6y ago
What we need is a Jquery-to-VanillaJS transpiler.
- paxys 6y agoUh, what do you think jQuery is written in?
- HatchedLake721 6y agoReact?
- noisem4ker 6y agoThe point is doing the translation on the server.
- abiogenesis 6y agojQuery 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.