DEV Community

Discussion on: ¿Is using Jquery a bad practice nowadays?

Collapse
 
spksonicsamurai profile image
AFM-Horizon

I'm really enjoying Jquery, just took a beginner course, and it is super simple and helps to bring into focus the whole View side of things and how HTML can actually be dynamic and fun. also helped me understand and jump into java-script from a intermediate/advanced C# level and now I'm pretty pumped to learn React or Angular. Being reasonably new to programming I can't really understand all the negativity around Jquery I like it!

Collapse
 
ahferroin7 profile image
Austin S. Hemmelgarn

Part of the negativity is, ironically, that it's become a de-facto standard for teaching, but you don't actually need it most of the time (it's been mentioned multiple times elsewhere, but youmightnotneedjquery.com/ is worth looking at). Pretty much all of the specific issues it solved other than verbosity are no longer issues unless you need to target really old browsers (no, seriously, we're talking truly ancient here, document.querySelectorAll() has been around in everything except IE for a decade), so most of what it actually does is add just short of 80kB of extra data (before compression) to make the rest of your code a bit smaller, and you have to be working on a pretty big app for that trade-off to be worthwhile.