Tutorials

Step-by-step guides with working code. Ship something by the end.

2026-04-19

CSS View Transitions API: 3 Production Patterns (And 2 to Skip)

Three CSS view transition patterns ship in production. Two don't. Real performance data, fallback strategies, and the line between demo and shipping code.

2026-04-16

Frontend Testing Strategy: 3 Tests You Need, 4 You Don't

3 frontend tests worth writing with Vitest and Playwright, 4 to delete. A practical decision framework, not another tool comparison.

2026-04-15

Server-Sent Events vs WebSockets: Why Half of You Picked Wrong

SSE or WebSocket? Three questions decide. A decision framework, side-by-side code, and the hybrid pattern — from a dev who shipped both.

2026-04-13

CSS Container Queries Tutorial: 3 Patterns That Beat Media Queries

3 patterns where CSS container queries beat media queries, a concrete migration path, and when media queries are still correct. Practical and opinionated.

2026-04-13

REST API Error Handling Best Practices: Your 500s Are a Lie

REST API error handling best practices: build structured errors with RFC 9457, implemented in Express and Go — plus client-side consumption code.

2026-04-05

AI Assisted Refactoring: Patterns That Won't Break Production

AI assisted refactoring that won't break production. Three named patterns, a preflight checklist, and the trust-but-verify mindset that keeps code safe.

2026-04-02

Model Context Protocol MCP: Why It Matters (And When to Skip It)

Model Context Protocol MCP: what it solves, how it compares to REST, and when to skip it. A developer's practical guide to the three primitives and production gotchas.

2026-03-29

JWT vs Session Authentication: Pick Wrong and You'll Pay Later

JWT vs session authentication: sessions for monoliths, JWT for microservices, hybrid when unsure. The decision framework most tutorials skip.

2026-03-26

Agentic Coding Workflows: One Agent vs. Many (2026 Guide)

Agentic coding workflows: use multi-agent when tasks span isolated areas and take 2+ hours. For most work, one agent wins. A practical framework.

2026-03-22

API Authentication Patterns: The 2am JWT Revocation Problem

Not sure which API authentication pattern to use? This guide covers JWT vs sessions, security best practices, and when each approach actually makes sense.