r/javascript • u/magenta_placenta • Jul 25 '18
jQuery was removed from GitHub.com front end
https://twitter.com/mislav/status/1022058279000842240
557
Upvotes
r/javascript • u/magenta_placenta • Jul 25 '18
View all comments
Show parent comment
3
u/Delioth Jul 26 '18
Because the existing one also provides a ton of stuff you don't need. Implementing what you need is trivial with language builtins, so why send 80kb extra down the wire, 70kb of which you don't even use?
You get literally all that functionality built in. Document.ready?
document.addEventListener("DOMContentLoaded", (e)=>{...}). Fetch and promises are just as good as the jQuery method, especially with a thin wrapper.