
Building a Router the Back Button Can't Break
How to build a small router on the Navigation API that keeps the URL, the content, focus, and scroll in agreement, even if the user presses Back before a page finishes loading.

How to build a small router on the Navigation API that keeps the URL, the content, focus, and scroll in agreement, even if the user presses Back before a page finishes loading.

TOCus is officially out! In AI news, Google announced Gemini 4 Argon, OpenAI had a big DevDay where they announced GPT-6.1 Sol and some bad news for current Pro users, and Anthropic released Claude Sonnet 5.5. Then there's Firefox 157, CSS corner shapes, an open model that finds browser bugs, vertical wrap in Figma, Gemini's text-to-speech models, and JavaScript iterators.

Claude Opus 5.5 led Artificial Analysis' tests. I explain what Jev is, the thing everybody is talking about. OpenAI released GPT-6 Sol and Luna, SpaceXAI introduced Grok 4.7, and Xiaomi's MiMo-V2.6-Pro is now free. Chrome 154 allows embedded frames to resize to fit the page, Lighthouse 13.5 checks support for AI assistants, and Cloudflare added previews for each branch. Google, Anthropic, and OpenAI updated their programming tools, and nine mathematicians will help OpenAI with sharing math research.

Apple put a sale date on its first foldable iPhone, so screens that fold in half are about to get a lot more common. Google's live voice models went generally available, Firefox changed a scrollbar check that may unhide styles you wrote, OpenAI deleted the line about training on the mathematicians' drafts, Safari 27 reached phones, tablets, and laptops, and Tailwind Labs is joining Shopify.

A practical way to evaluate a frontend technology as a long-term commitment, from how much of your app it takes over to what replacing it would cost, with my own decision to build on Lit as the example.