4 ms·
I'd say for most web content, minimal JS gives the best experience. With all the integration and UI improvements browsers have gone through the past ten years,
by jeroenhd 7y ago
I'd say for most web content, minimal JS gives the best experience. With all the integration and UI improvements browsers have gone through the past ten years, all most content needs is some CSS to add a theme and some minor readability tweaks, except if there's some interactive animation that add value to the content on the web page. You don't even need JS for videos or audio anymore, it's all there in the browser.
It's sad how most websites these days are fully-featured web applications. Take this blog page by Google. A simple web page with some pictures loading over 300kB of Javascript libraries and tooling. And this isn't even an exception. It's sad, really, and a waste of readers' bandwidth.
- jazzyjackson 7y agocss animations on :hover and :active psuedoclasses can go a long way for an interactive experience without running programs too.