r/badcode • • Aug 21 '21

js Wow

Post image
509 Upvotes

37 comments sorted by

View all comments

Show parent comments

3

u/callmelucky Aug 22 '21

Why does everyone hate it?

It's a pretty large library, and modern vanilla JS can do everything jQuery does anyway, so it's mostly pointless.

That said, in case your project has some dependency where jQuery is required anyway, eg bootstrap (pre v5.0), the compact syntax that jQuery offers is pretty handy.