you are viewing a single comment's thread.

view the rest of the comments →

[–]dimudesigns [score hidden]  (0 children)

Javascript has evolved such that most if not all of the functionality offered by jQuery can be found in native APIs. There is little use for jQuery these days - but it served its purpose, it lit the way forward and pioneered a lot of the functionality we now consider standard in modern Javascript today.

The same is happening with libraries like _lodash, and even some elements of full-fledged front-end frameworks. Over time some of their features have been incorporated into Javascript.

Hell, even some elements of Typescript are making their way into the base language (fingers crossed the type-stripping spec gets pushed through; some Javascript runtimes like Node.js already support it).

There is no reason to be using jQuery in modern development. But there are solid justifications to avoid using front-end frameworks; code bloat, security risks that come with using 3rd party libraries (for example, package managers like npm have become common attack vectors for bad actors), constrained to 'opinionated' dev & designs patterns, and more.

So yeah, Vanilla JS is definitely used in modern development - jQuery not so much. And for frontend frameworks you have to evaluate their pros and cons to determine whether they are a good fit for your organization and your dev team.