DEV Community

Discussion on: Anybody still working with jQuery?

Collapse
 
seanmclem profile image
Seanmclem

What are some things jQuery is good for -that you can't already do with vanilla Js?

Thread Thread
 
jessekphillips profile image
Jesse Phillips

What implementation of "vanilla JS"?

I don't actually work with these things, but I did learn that when you're supporting browsers back to IE 6, jquery is very handy.

Thread Thread
 
smonff profile image
🌌 Sébastien Feugère ☔

JQuery is excellent at browser compatibility: you just use it's simple-short-to-write functional syntax and it runs everywhere.

Doesn't it remind nicely the JVM?

Thread Thread
 
seanmclem profile image
Seanmclem

Writing modern js is easy to get full compatability with babel or polyfills

Thread Thread
 
smonff profile image
🌌 Sébastien Feugère ☔ • Edited

Do you call Babel and Polyfills « Vanilla JavaScript » ? It's already JavaScript with super-powers.

There are people who do jQuery and who doesn't know how to set up those kind of environments. And their company don't want them to learn and/or they aren't interested to go further on their own.

I don't say it is good, and it should surely be avoided, but the simplicity of use of jQuery is for sure a great plus. Overusing it at a certain point for complex applications today is surely a mistake and the tools you mentioned should be used in most of the cases.

Thread Thread
 
jessekphillips profile image
Jesse Phillips

Is it though? When do you pull in a polyfill? Is it for every JS feature you use? Did you remember to check the compatibility guide?

Im not saying you want to go without testing, but testing is all about figuring out what is not needed to be tested.