by smt88 · 2w ago · 0 comments
When most code is and will be written by AI, why would I sacrifice performance for syntactic sugar?
My only data point was my Blog felt significantly snappier on my 5 year old phone - especially on bad 4G connections - when i simply ditched jQuery and used Vanilla JS.
> The latest version of jQuery (v4.0.0) is 76.8 kB minified and 27.0 kB minified + gzipped.
First, modern vanilla JS APIs have been available for more than ten years. A browser without them is absolutely ancient.
And for the browsers that are truly that old, you can use nearly-weightless polyfills instead of jQuery.
We just had a T1 line blow up the entire US air control infrastructure, so I'll happily assume people are still using old garbage in critical workflows.
1: https://blog.jquery.com/2026/11/17/jquery-4-1-0-and-3-8-0-re...
hot take: we should not be supporting them.
(i get that this is a hard sell if you use your website to make money)
Another fun bit was when one of the employee ATMs glitched out and we say a nice shiny windows 98 desktop staring back at us.
Should we support those older browsers? Probably not, as a whole. Does someone still have to? Almost certainly.