{"id":8589,"date":"2026-02-12T10:31:17","date_gmt":"2026-02-12T15:31:17","guid":{"rendered":"https:\/\/frontendmasters.com\/blog\/?p=8589"},"modified":"2026-02-12T10:31:19","modified_gmt":"2026-02-12T15:31:19","slug":"jquery-4","status":"publish","type":"post","link":"https:\/\/frontendmasters.com\/blog\/jquery-4\/","title":{"rendered":"jQuery 4"},"content":{"rendered":"\n<p>The GOAT JavaScript library jQuery has <a href=\"https:\/\/blog.jquery.com\/2026\/01\/17\/jquery-4-0-0\/\">gone 4.0<\/a> coinciding with, from what I hear, was <a href=\"https:\/\/www.jqueryreunion.com\/\">a lovely reunion party<\/a>. It&#8217;s not wildly different, but it&#8217;s gone full ESM and dropped a bunch of old stuff. <\/p>\n\n\n\n<p><a href=\"https:\/\/code.jquery.com\/jquery-4.0.0.min.js\">Minified and gzipped<\/a> it&#8217;s 27.6 kB. Version 3.7.1, the last before this release, was 30.5 kB \u2014 so it&#8217;s nice to see it go down in size. <a href=\"https:\/\/code.jquery.com\/jquery-4.0.0.slim.min.js\">The slim build<\/a> is 19.6 kB. Nice little benefit for apps that already use jQuery deeply and can <a href=\"https:\/\/jquery.com\/upgrade-guide\/4.0\/\">upgrade<\/a> to it. <\/p>\n\n\n\n<p>Would you pick jQuery for a new app today? Eh, I mean, sorry team, but probably not. It&#8217;s done <a href=\"https:\/\/www.youtube.com\/watch?v=jYV1VDhw7E8&amp;t=151s\">sometimes<\/a>, but there is vanilla versions of most everything it provides these days, which you should probably know and save the bytes by using directly. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>The GOAT JavaScript library jQuery has gone 4.0 coinciding with, from what I hear, was a lovely reunion party. It&#8217;s not wildly different, but it&#8217;s gone full ESM and dropped a bunch of old stuff. Minified and gzipped it&#8217;s 27.6 kB. Version 3.7.1, the last before this release, was 30.5 kB \u2014 so it&#8217;s nice [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":8591,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"sig_custom_text":"","sig_image_type":"featured-image","sig_custom_image":0,"sig_is_disabled":false,"inline_featured_image":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[29],"tags":[3,451],"class_list":["post-8589","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-the-beat","tag-javascript","tag-jquery"],"acf":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/frontendmasters.com\/blog\/wp-content\/uploads\/2026\/02\/Screenshot-2026-02-12-at-7.30.01-AM.png?fit=1494%2C1004&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/posts\/8589","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/comments?post=8589"}],"version-history":[{"count":3,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/posts\/8589\/revisions"}],"predecessor-version":[{"id":8593,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/posts\/8589\/revisions\/8593"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/media\/8591"}],"wp:attachment":[{"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/media?parent=8589"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/categories?post=8589"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/frontendmasters.com\/blog\/wp-json\/wp\/v2\/tags?post=8589"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}