๐๏ธ navigator.sendBeacon
navigator.sendBeacon sends a small HTTP POST request reliably during page unload. The browser guarantees delivery without blocking navigation โ making it ideal for fire-and-forget data like analytics pings.
๐๏ธ URLPattern
URLPattern lets you match URLs โ or individual components of them โ against patterns with wildcards and named groups. The syntax is inspired by path-to-regexp, the same library Express uses for its route definitions.
๐๏ธ Forms
Overview
๐๏ธ HTML Sanitizer API
The HTML Sanitizer API sanitizes untrusted HTML before DOM insertion, removing XSS-dangerous content (scripts, event handlers) using the browser's own parser โ eliminating parser-differential vulnerabilities that plague userland sanitizers.
๐๏ธ Container Queries
Container queries let you style descendants based on the size of a parent container rather than the viewport. This makes components truly context-agnostic โ they adapt to the space they're given, not to the overall screen.