
It's time for modern CSS to kill the SPA
tambourine_man
created: July 25, 2025, 9:08 p.m. | updated: July 26, 2025, 10:30 p.m.
It’s time for modern CSS to kill the SPANative CSS transitions have quietly killed the strongest argument for client-side routing.
Routing logic, hydration code, loading spinners – all just to stitch together something that browsers already knew how to do natively.
Modern browsers – specifically Chromium-based ones like Chrome and Edge – now support native, declarative page transitions.
What we’re calling “modern CSS” here is shorthand for View Transitions, Speculation Rules, and a return to native browser features that were always designed to handle navigation, interaction, and layout.
🔄 Basic cross-page fade transitionWith just a few lines of CSS, you can trigger smooth visual transitions between pages.
1 day, 1 hour ago: Hacker News: Front Page