A fair amount of hate for jQuery is due to how it's used (read: misused) and not the tool itself.
For example, dev adds jQuery to a project when 5 to 10 lines of vanilla JS would do.
For example, dev adds jQuery to a project when 5 to 10 lines of vanilla JS would do.
But I get it, if that page would be loaded by thousands of people each day, you may not want to make them all to load an extra jQuery file for what you could have written instead as a Script tag in a HTML file.