
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.
Tag archive

The Invoker Commands API lets a button declare what it controls with command and commandfor, replacing modal and popover glue code with plain HTML.

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.

A practical look at scheduler.yield(), the browser API that breaks up long tasks and keeps the main thread responsive without the setTimeout penalty.

A practical guide to prefers-reduced-motion, prefers-color-scheme, prefers-contrast, and forced-colors — the CSS media queries that respect user accessibility settings with zero JavaScript.

The Speculation Rules API lets you tell the browser which pages to prefetch or fully prerender in the background — delivering near-instant navigations with a few lines of JSON and no framework required.

CSS scroll-driven animations let you create silky-smooth scroll effects — progress bars, reveal animations, parallax — using pure CSS with zero JavaScript.

The old window.ethereum trick breaks when users have multiple wallets installed. Here's how EIP-6963 and wagmi v2 solve multi-wallet discovery cleanly, with real TypeScript examples.
Still attaching scroll listeners to trigger animations or load content? Here’s the practical,...

There are somethings that you should never build by yourself. Not because it's difficult, but because...

Se voltássemos no tempo uns 20 anos, ou até menos, e falássemos para os desenvolvedores web daquela...
Use Web APIs to create a camera application.

Understanding HTTP Requests in JavaScript