3 ms·
I think people mistake this as an attempt to tell people to get rid of jQuery. No, that's not the point of these webpages. jQuery still offers an overall nicer
by wereHamster 8y ago
I think people mistake this as an attempt to tell people to get rid of jQuery. No, that's not the point of these webpages.
jQuery still offers an overall nicer API than native. If you're building an application, and have to make the choice between using jQuery and going native, go pick jQuery.
However if you're writing a 10 line script that does something really small (eg. if you have a static webpage and need to make one button slightly interactive) then these guides tell you how to do it without importing all of jQuery.
- mjevans 8y agoOf course you might also be adding that hack to a page that already pulls in jQuery, in which case why avoid it?