Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Exactly. I know I don't need jQuery, but sometimes it's nice to be able to do stuff like make an ajax request as a one liner vs 10+ lines.

Peoples gripes with jQuery come from people importing the entire library to do one thing, like add a class to an element. Sure, in that case it's dumb to load the entire library for that single purpose. But if you're using it for 5 things? 10 things? It quickly becomes worthwhile.



https://caniuse.com/#search=fetch For IE, you can use a polyfill if needed.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: