---
title: "htmx 4.0 takes HTML-driven apps further"
publication: "Frontend Focus"
issue: 756
published_at: "2026-09-02"
canonical_url: "https://frontendfoc.us/issues/756"
---

Plus how to use random() in CSS today, Firefox 155, and a physics-based CSS lighting system.       

Together with [![Tiger Data logo\](https://res.cloudinary.com/cpress/image/upload/c_fill,g_auto,w_1280,h_282/e_make_transparent/co_white,e_outline:30/px1u7kjyvz7xnbm6ytir.png)](https://www.tigerdata.com/go/trial?utm_source=content-syndication&utm_medium=referral&utm_campaign=frontend-focus-newsletter)        

🚀 **Frontend** Focus 

#​756 — September 2, 2026 | [Read on the web](https://frontendfoc.us/issues/756)      

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/nc13z6ehpnla8cdrym18.jpg)](https://four.htmx.org/announcements/2026-08-28-htmx-4.0.0-is-released)  

[htmx 4.0: Server-Driven Interactivity From Your Markup](https://four.htmx.org/announcements/2026-08-28-htmx-4.0.0-is-released) — [htmx](https://four.htmx.org/) lets you drive server requests (now using `fetch`) and DOM updates from HTML attributes without writing JavaScript. v4 is a major update: attributes no longer inherit unless you opt in, [morphing swaps](https://four.htmx.org/docs/morphing-swaps-guide) are built in, and a new [`<hx-partial>`](https://four.htmx.org/announcements/2026-08-28-htmx-4.0.0-is-released#hx-partial) tag handles multi-target updates. 

Carson Gross  

💡 **New to htmx?** [The docs](https://four.htmx.org/docs) open with a working example in several lines of HTML, offering a good way to judge whether the approach appeals to you.  [![\](https://res.cloudinary.com/cpress/image/upload/c_limit,w_480,h_480,q_auto/copm/8c76e875.png)](https://www.tigerdata.com/go/trial?utm_source=content-syndication&utm_medium=referral&utm_campaign=frontend-focus-newsletter) 

[Your Dashboard Was Fine at 10K Rows. Not at 10M](https://www.tigerdata.com/go/trial?utm_source=content-syndication&utm_medium=referral&utm_campaign=frontend-focus-newsletter) — It rendered fine in dev. In production, the data grew and the query behind it didn't keep up. TimescaleDB extends Postgres so dashboards stay fast as data scales. Hypertables, compression, continuous aggregates. [Get $1000 credit to start](https://www.tigerdata.com/go/trial?utm_source=content-syndication&utm_medium=referral&utm_campaign=frontend-focus-newsletter). 

Tiger Data (creators of TimescaleDB) sponsor   

[How to Use CSS `random()` Outside Safari Today](https://css-tricks.com/css-random-function-polyfill/) — Safari is the only browser shipping `random()` support in CSS, but this polyfill bridges the gap by keeping `random()` calls in custom properties that non-supporting browsers leave alone, but which JavaScript can then pick up. 

Lee Meyer   

[Feature Detecting 'Undetectable' CSS Features with `@supports named-feature()`](https://www.bram.us/2026/08/27/feature-detecting-undetectable-css-features-with-supports-named-feature/) — `@supports` lets you detect feature support for selectors, properties and values, and at-rules, but what about broader combinations of features? `named-feature()` can plug the gap and broad support is close (already in Chrome 150, and beta/preview builds of Firefox and Safari). 

Bramus Van Damme     

⚡️ IN BRIEF 

- 🦊 Firefox now ships a major version every two weeks, and [Firefox 155 landed yesterday](https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/155) with a big CSS haul: `attr()` in _any_ property, plus `progress()`, `alpha()` and `font-width` (_the new name for `font-stretch`_).
- 🚫 It finally happened: [Google has removed all remaining Manifest V2 extensions from the Chrome Web Store](https://webiterate.dev/google-removed-extensions-ublock-origin-108/), uBlock Origin included.
- ✨ Rachel Andrew rounds up [what's new to the web platform in August](https://web.dev/blog/web-platform-08-2026), a good month for Baseline with the `text-box` properties leading the way.
- 📱 Firefox on iOS has [added a built-in, opt-in ad blocker](https://blog.mozilla.org/en/firefox/ad-blocker-on-ios/), built on WebKit's Content Blocker API and the EasyList filter list (_no extension required_).
- 📏 [CSSUnits.com](https://cssunits.com/) provides an explainer for every unit in CSS.      

📙 Articles, Opinions & Tutorials  

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/di3zjgkthjsigtcc567z.jpg)](https://www.carmenansio.com/articles/modernist-tiles-css-grid/)  

[How to Build Tile Patterns with CSS Grid](https://www.carmenansio.com/articles/modernist-tiles-css-grid/) — Six Barcelona-inspired tile motifs built from gradients and `border-radius`, laid out with techniques you could use elsewhere. 

Carmen Ansio   

[Fine, I’ll Build My Own Text Editor!](https://dbushell.com/2026/09/01/text-editor/) — Three approaches to building a text editor in the browser, with interactive demos, quickly comparing `<canvas>`, `contenteditable`, and a plain `<textarea>`. 

David Bushell   

[Know React? You're Ready to Ship a Mobile App](https://try.expo.dev/4qF1sbW) — Your React skills already ship mobile apps. Expo does the builds, store submission, and updates. No Xcode. 

Expo sponsor   

[Enhanced Spell Checking on the Web](https://bkardell.com/blog/EnhancedSpellchecking.html) — Sites could add their own jargon to the browser's spellchecker using the newly proposed [Spell Check Custom Dictionary API](https://github.com/Igalia/explainers/blob/main/spell-check-dictionary/README.md). Brian also explains why spellcheck flags different words in different browsers on the same machine. 

Brian Kardell (Igalia)   

[The Browser's New Email Verification API](https://resend.com/blog/email-verification-api) — A look at a WICG proposal to get rid of the 'go and check your inbox' headache with the browser and email provider using a token the server verifies on submit. Chrome origin trial and Gmail only for now. 

Phil Nash   

[The Case for Tri-State Dark Mode Toggles](https://www.bram.us/2026/08/18/the-case-for-tri-state-dark-mode-toggles/) — A rebuttal to Lea Verou's ["two states are enough"](https://lea.verou.me/blog/2026/dark-mode-toggles/) piece we linked in[#754](https://frontendfoc.us/issues/754). 
Bramus Van Damme   

[Controlling When CSS Custom Properties Are Computed](https://jakearchibald.com/2026/css-custom-property-compute-time/) — _"When and how CSS custom property values are calculated might not be what you expect"_ 
Jake Archibald   

[Native HTML and CSS Features That Replaced JavaScript](https://ronaldsvilcins.com/2026/08/30/native-html-and-css-features-that-replaced-javascript/) 
Ronalds Vilciņš   

[Faster Browser Releases Change Your RUM Population](https://csswizardry.com/2026/08/web-perf-wednesday-006-faster-browser-releases-change-your-rum-population/) 
Harry Roberts    

🧰 Tools, Code & Resources  

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/ga5v6trn0seplpf29pmj.jpg)](https://ambientcss.vercel.app/)  

[Ambient CSS: A Physics-Based Lighting System for CSS](https://ambientcss.vercel.app/) — Pitched as _"Blender meets CSS"_ (its look is actually [grounded on Blender renders](https://kikkupico.github.io/ambientcss/ambient-css/grounded/)), this lets you [declare a light direction](https://kikkupico.github.io/ambientcss/guide/concept) and other parameters with shadows, gradients, bevels, and more following automatically. [Docs](https://kikkupico.github.io/ambientcss/). 

Ramakrishnan Veeraragavan   

📊 [Speedlify2: Continuously Measure Website Performance](https://www.zachleat.com/web/speedlify2/) — From the creator of [Eleventy](https://www.11ty.dev/), a free, self-hostable way to continuously measure Lighthouse scores, Core Web Vitals and Axe accessibility across sites, running on GitHub Actions and Pages. 

Zach Leatherman   

[Build Forms That Fit Your Frontend—and Any Backend](https://surveyjs.io/?utm_source=frontend&utm_medium=email) — Create custom themes for your form UI or use style adapters for Bootstrap, MUI, and Shadcn/UI. Dedicated npm packages for React, Angular, and Vue. 

SurveyJS sponsor   

[Quicklink: Faster Subsequent Page-Loads by Prefetching Visible Links](https://github.com/GoogleChromeLabs/quicklink) — During browser idle time, this prefetches pages linked in the current viewport, making subsequent navigations faster. 

Google Chrome Labs   

[Particle Charts: Render Charts as Clouds of Particles](https://particlecharts.com/) — I'm not quite sure why this exists, but it's an interesting visual approach that you need to see to believe. It's very easy to get started with, too. 

Blake Williford   

[Cropper.js 2.2: An Image Cropping Control](https://fengyuanchen.github.io/cropperjs/) — Now over ten years old but still seeing active development. There's [a playground](https://fengyuanchen.github.io/cropperjs/playground.html) where you can give it a spin. [GitHub repo.](https://github.com/fengyuanchen/cropperjs) 

Chen Fengyuan    

🕰️ A Trip Down Memory Lane  

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/oumji2ws7amzmk1duqau.jpg)](https://contemporary-home-computing.org/prof-dr-style/)  

In Olia Lialina's 2010 essay, [Prof. Dr. Style: Top 10 Web Design Styles of 1993](https://contemporary-home-computing.org/prof-dr-style/), you can take a trip back to the earliest days when people were barely beginning to consider 'web design' a thing, having few features at their disposal to add any flair. 

The author touches on features that gradually appeared over the following years, like animated GIFs, tables, and even background colors (that could be specified by the page author, not just the end viewer). 

⭐ If you like stuff like this and want to branch out a bit further than 1993, the [Web Design Museum](https://www.webdesignmuseum.org/all-websites) is dedicated to preserving screenshots of the Web over its first couple of decades.    

📬 

**Got a new email address?** You can [change your email here](https://frontendfoc.us/edit_subscription/*|UID|*). 

--- 

**Bored of us?** Click [here to stop getting this newsletter](https://frontendfoc.us/leave/*|UID|*). 

--- 

**Got a link for us?** Reply and tell us. We can't include everything but we'll take a look. 

--- 

Published by Cooper Press Ltd.
Curated by [Chris Brandrick](https://bsky.app/profile/brandrick.bsky.social) & [Peter Cooper](https://twitter.com/cooperx86).
Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom 

[Stop getting this newsletter](https://frontendfoc.us/leave/*|UID|*)
