What reason to use vanilla js in small projects instead of jquery, for example? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What reason to use vanilla js in small projects instead of jquery, for example?

What reason to use vanilla js in small projects instead of jquery, for example? Guys, don't you wanna save your time? I can't understand, explain me, please.

20th Sep 2017, 5:25 PM
Lord Russel
Lord Russel - avatar
3 Answers
+ 3
Yes that is correct, delivering on time is usually more important. Sometimes the restriction is a matter of licensing and 3rd party package authorization for example in government software. Personally I haven't used jQuery in years, there just isn't a reason for it even in my large SPAs. I find that I will use lodash way before jQuery. jQuery uses to be my goto for DOM selection but I just use native querySelector now.
20th Sep 2017, 10:20 PM
A_Hook
A_Hook - avatar
+ 2
Sometimes it's bloat to a project, if using React.js then it can cause problems, or preference to avoid frameworks in general.
20th Sep 2017, 6:43 PM
A_Hook
A_Hook - avatar
+ 1
@A_Hook, it's good reason, but I've seen many teamleaders, who know from start their project will not be great and serious, but strongly against using some framework. I think, if you are developing a commonplace business card site, it is much more important to save time and effort than to take care of the cleanliness of the solution. Am I not right?
20th Sep 2017, 8:21 PM
Lord Russel
Lord Russel - avatar