Web APIs

Browser capabilities you reach for directly, before adding a dependency that wraps the same thing.

6 articles

Web Workers

Listed inWeb WorkersWeb APIson

Moving expensive work off the main thread, the structured-clone boundary, and what workers cannot touch.

Advanced8 minDraft
#web-apis
#performance

Observer APIs

Listed inObserver APIsWeb APIson

Intersection, Resize, and Mutation observers — event-free ways to react to layout and visibility.

Intermediate7 minDraft
#web-apis
#performance

Server-Sent Events

Listed inServer-Sent EventsWeb APIson

One-way streaming over plain HTTP, with automatic reconnect — the cheapest real-time primitive on the platform.

Intermediate6 minDraft
#web-apis
#realtime

WebSockets

Listed inWebSocketsWeb APIson

Full-duplex connections, reconnection strategy, and when a socket is the wrong answer to a polling problem.

Intermediate8 minDraft
#web-apis
#realtime

Storage

Listed inStorageWeb APIson

localStorage, sessionStorage, IndexedDB, and cookies — quotas, synchrony, and what survives what.

Beginner7 minDraft
#web-apis
#storage