Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Crazed20367yjQuery is nothing more than predefined JS functions. jQuery IS JS. I get both sides, jQuery can definitely save a lot of time and energy through prewritten code, but at the same time if you don't know how jQuery functions process arguments and return values then you can get yourself in trouble. Understanding core JS is waaaaaaay more important than being familiar with any given library. That's the skill that will help you find out why jQuery isn't doing what you want it to.
-
@Crazed I think the argument against jquery is that it's a big library for relatively simple operations.
In pure JS it's all bit more verbose (but not that difficult). For a simple app, you could easily define a few jquery-like helper functions in a very light library as you go.
If you want something more full featured, you might as well use react/vue/angular. Jquery is not great at keeping in sync with the state of your document. -
Crazed20367y@bittersweet true, there's also the problem with a lot of people including the full jQuery library to use... 2 functions.
-
l0om16587y@bittersweet I totally agree. Except for the part "jQuery is not great at..." I'd say "jQuery really sucks at..." instead.
-
620hun81907yIf you want your website to work in the past, by all means use jQuery. Otherwise just save a bunch of kBs and use vanilla.
-
nntoan1217yYour rant should be:
Use jQuery over PURE javascript because for the fuck sake, jQuery is Javascript
Related Rants
worst advice:
"Use only jQuery, js is shit"
"Use only js, jQuery is shit"
Dude, use whatever dafuq you want, both have their pros and cons..
undefined
fuck the system i'll learn python web
js
wk66
jquery
just kidding