jQuery 4

Chris Coyier Chris Coyier on

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.

It's time to take your JavaScript to the next level

Leave a Reply

Your email address will not be published. Required fields are marked *

$966,000

Frontend Masters donates to open source projects through thanks.dev and Open Collective, as well as donates to non-profits like The Last Mile, Annie Canons, and Vets Who Code.