The GOAT JavaScript library jQuery has gone 4.0 coinciding with, from what I hear, was a lovely reunion party. It’s not wildly different, but it’s gone full ESM and dropped a bunch of old stuff.
Minified and gzipped it’s 27.6 kB. Version 3.7.1, the last before this release, was 30.5 kB — so it’s nice to see it go down in size. The slim build is 19.6 kB. Nice little benefit for apps that already use jQuery deeply and can upgrade to it.
Would you pick jQuery for a new app today? Eh, I mean, sorry team, but probably not. It’s done sometimes, but there is vanilla versions of most everything it provides these days, which you should probably know and save the bytes by using directly.
