+ 4
What is the best JavaScript library to learn?
13 Respostas
+ 4
JQuery its almost an must to learn
+ 7
I would agree to Paul Caron damyco
also agreed with KrOW JS libraries are very Awesome and must be used when you are working under load and you have to finish work rather than reinventing the wheel yourself.
But when studying and doing practice codes, I try not to use the library or use it only after i understood what that library is doing under the hood.
There is a very serious problem with js libraries, since js is not type strict and mutable, therefore in order to write bug free libraries a lot of type checking has to be done which results in very big codes for some thing which can be done in few lines.
and there is a js library for every thing one can imagine, and new coming everyday,
so I would stress to learn the javascript design patterns that make up the libraries rather than focusing on one library.
libraries can be learnt in few hours if js concepts are strong.
my favorate library is lodash
+ 4
Yeah, "vanilla" JavaScript does appear to be time proof at the moment (as we wait on baited breath for Web Assembly to gain more traction). However, I also agree with Kr0W. jQuery is so much more reasonable than pure JavaScript.
To add, I think there is much to be said about Angular.js and React.js. They are optimized for different things (as can probably be said about any library or tool -- almost). I think people often put the cart before the horse so to speak. If you are working on a project that requires certain tools and you open up your toolbox and you don't have the tool, you go out and buy it (or rent it, but that's more common for physical labor). In the case of software, it's good to be able to recognize what tool you need for the situation at hand, then learn how to use it or freshen up on it if you're already an expert. So I'd just read widely to gain that ability to recognize what's appropriate. I absolutely love peeking into the code of things that look cool to me.
My opinion.
+ 3
Though i dont use jquery in my SL codes (i am a purist đ) i have to admit that JQuery its useful... Sure you can do with JS all that you cam do wit jquery but latter allow an cleaner way to do it (and get you away from some browser different behaviour). I dont know much Angular and React (they are in my next learn topics đ) but like Janningâ righly said, they all have different goals
+ 2
Paul Caron Yes but its innegable that JQuery its so popular that someone confuse it as a different language đđđ.
+ 2
You can do the same stuff without jQuery using plain js. I think you are confusing libraries with frameworks. Depends really what you wanna do. Front end frameworks are React, Angular, Vue - the big trio. All of them are good... Basically if you have a good grasp on JS you can learn any of them quickly so it doesn't matter. Just learn JS properly cuz libs and frameworks comes and goes - any new stuff you will easily pick up with proper JS knowledge.
+ 2
damyco I know that its possible do all with plain js (JQuery IS JS) but libs (i call they so) are useful because make your code simpler (and get you away from some complexity like different-browsers behaviours). Sure its always better learn js but use JQuery its ALMOST an must to do
+ 2
I haven't use jquery so far in any of my projects, but it's very easy to learn from what I've seen cuz I know what it actually does under the hood. I use babel to support older browsers. Like I said there is no point in diving into any of the mentioned frameworks like react if u dont know JS well (ES6+) - you will get stuck quickly!
+ 2
Morpheus Yes, in learning context is counter productive use jquery et company but this only for learning... Next depends all by context... Now, for example, i m developing a simple svg editor (on SL) and i like use jquery (never used on SL) BUT, because i have started to learn Vue probably i will convert current work with it (for learning)... In real production many variable you have to think
+ 1
Paul Caron Yes but some libraries give we mich help đđ