Skip to content
// writing

Posts tagged #javascript — Page 2

A mix of technical deep-dives, career reflections, and dispatches from the road.

The Sanitizer API: Safe HTML Injection Without DOMPurify thumbnail
developmentAug 2, 2026· 4 min
The Sanitizer API: Safe HTML Injection Without DOMPurify
The browser can now strip XSS from an HTML string during parsing. Here's how setHTML works, why its config can only narrow the allowlist, and how to ship it before Safari catches up.
read more →
JavaScript Iterator Helpers: Stop Converting to Arrays First thumbnail
developmentJul 23, 2026· 4 min
JavaScript Iterator Helpers: Stop Converting to Arrays First
Iterator helpers bring map, filter, take, and drop to any iterator without spreading into an array first. They went Baseline in 2025, and they change how you handle Maps, Sets, and generators.
read more →
The Soft Navigations API: Core Web Vitals Finally Work in SPAs thumbnail
developmentJul 16, 2026· 4 min
The Soft Navigations API: Core Web Vitals Finally Work in SPAs
Chrome ships the Soft Navigations API unflagged in 151, giving single-page apps a standardized way to measure LCP, INP, and CLS per route change instead of only on the first load.
read more →
Declarative Shadow DOM: Web Components That Render Before Your JavaScript Does thumbnail
developmentJul 13, 2026· 4 min
Declarative Shadow DOM: Web Components That Render Before Your JavaScript Does
Shadow DOM used to mean a blank page until your bundle loaded. The shadowrootmode attribute changed that, and it has been in every major browser since early 2024.
read more →
OPFS: A Real File System in the Browser thumbnail
developmentJul 12, 2026· 5 min
OPFS: A Real File System in the Browser
The Origin Private File System gives you byte-level, synchronous file I/O in the browser. Here's how it works, when to reach for it, and why it's the reason SQLite runs well on the web now.
read more →
URLPattern: The Browser Finally Has a Built-In Router thumbnail
developmentJul 6, 2026· 4 min
URLPattern: The Browser Finally Has a Built-In Router
URLPattern went Baseline in late 2025, giving the platform a native, framework-free way to match and parse URLs. Here is how it works and where it earns its place.
read more →
Invoker Commands: Wiring Buttons to Dialogs and Popovers Without JavaScript thumbnail
developmentJul 2, 2026· 4 min
Invoker Commands: Wiring Buttons to Dialogs and Popovers Without JavaScript
The Invoker Commands API lets a button declare what it controls with command and commandfor, replacing modal and popover glue code with plain HTML.
read more →
Fallow: A Codebase Truth Layer for Agent-Written Code thumbnail
developmentJul 1, 2026· 4 min
Fallow: A Codebase Truth Layer for Agent-Written Code
Fallow is a Rust-native tool that maps your whole TS/JS codebase to catch dead code, duplication, and architecture drift. Here's how it fits alongside ESLint, Prettier, and agent guidelines when you're reviewing PRs you didn't write.
read more →
The Navigation API: Stop Wrestling with history.pushState thumbnail
developmentJun 29, 2026· 4 min
The Navigation API: Stop Wrestling with history.pushState
The Navigation API hit Baseline in early 2026, giving SPAs a single, purpose-built place to intercept and manage routing. Here's why it finally replaces the History API.
read more →
// the newsletter
Don't miss the next one