DEV Community

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

Collapse
 
felipperegazio profile image
Felippe Regazio • Edited

i think jquery was great years ago. it brought some pattern and conciseness, in some level has organized a reliable browser compatibility (even in a strange way sometimes, but at the end, it was all the same jquery huhn? :P), it has revolutioned some ways of selecting elements, it brought some cool patterns to add callbacks, etc, but...

it just dont make sense to use it anymore when you have ES6 and so many new features and sugar syntax in JS now (we dont even have to mention frameworks as vue or react to talk about jquery deprecation).

the ES6 enhancements with other recent features in JS allow you do anything you usually do with jQuery, with same (or with more) simplicity, and sometimes in a (even) more elegant way.

look at that:
youmightnotneedjquery.com/

And sometimes you load jQuery at your page to do something that could be written in 10 or 20 lines of vanilla js, with same simplicity, and without load 84,320 extra kb (jquery minified size) in your app. You dont need a cannon to shoot a fly, right?

Of course to learn Jquery is still cool and useful, but for me those are the stroggest motives i left jQuery, and there are so many others...

JQuery is cool, deserves respect and has it place on the development history. But just dont make sense to use it anymore.