Imagining a JavaScript-less SPA World
A brain dump exploring what browsers might need in order to deliver the snappy feel of today’s single page apps without any JavaScript. The idea came from asking ChatGPT to outline a true “JS‑free” SPA.
The Core Idea New form attributes async to fetch responses without a full reload update="#target" to inject the returned fragment into a selector CSS pseudo-classes :loading to style the in-flight state for spinners and disabled buttons With only HTML and CSS we could get async submission, live loading indicators and partial DOM updates.