Feature Detection vs UA Sniffing: The Compatibility Methodology
UA sniffing has been unreliable for decades and now works against you. The replacements — @supports, capability checks, UA Client Hints — and the migration plan.

UA sniffing has been unreliable for decades and now works against you. The replacements — @supports, capability checks, UA Client Hints — and the migration plan.

Variable fonts plus unicode-range subsetting plus metric overrides help keep fonts within a 100 KB first-paint budget across 20 locales. The subsetting and the @font-face descriptors.

HTTPS is no longer just privacy — it is a feature gate. SecureContext locks Service Workers, Push, Clipboard, WebAuthn, and dozens more APIs to https://.

Form-associated custom elements (Safari 16.4) and declarative Shadow DOM addressed two long-standing gaps for design systems. The use cases that justify Web Components, and the ones that do not.

Native crossfades, position morphs, and route-level transitions with a small amount of CSS — no animation library required. Same-document and cross-document MPA.

Browserslist is policy, not config — one file drives Babel, PostCSS, eslint-plugin-compat, a Stylelint plugin, and Vite's legacy plugin together. What defaults means, and the modern alternative.

iOS 16.4 (March 2023) shipped Web Push and Badging — the "PWA is dead on iOS" narrative is out of date. The manifest, Service Worker patterns, and the install prompts.

Modern image formats cut the bytes behind most LCP images, and fetch priority influences when those bytes arrive. AVIF can save more than half the bytes of an equivalent JPEG, depending on content, encoder settings, and quality target; the picture element handles the negotiation natively.

The native trio — dialog, Popover API, and CSS Anchor Positioning — can replace tens of kilobytes of Floating UI and Radix dependencies with native HTML, a few CSS declarations, and little JavaScript.

The mobile address-bar problem that broke 100vh for years is solved. Small (svh), large (lvh), and dynamic (dvh) units explained, with the migration plan.