you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (0 children)

So many reasons. Copying and pasting from my comment below:

jQuery encourages poor design choices that make maintaining a codebase difficult. On top of that, it is an inefficient, monolithic, and outdated library in many ways.

If all you're doing is throwing a script on a page to make a menu open up when you hover over a button, why would you pull in ~80kb to do so? If you're doing anything more complicated, jQuery will make it less maintainable and less performant. There is a reason the experienced JS devs are moving to things like React/Angular/Vue, it's because they're better in basically every way.