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.
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.
Sometimes it's bloat to a project, if using React.js then it can cause problems, or preference to avoid frameworks in general.
@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?