Skip to main content

One post tagged with "hydration"

View All Tags

From URL bar to interactive: what really happens when a Next.js app boots

· 23 min read
Pere Pages
Software Engineer
Diagram of a browser request travelling to a Next.js server and back to an interactive page

You type a domain, hit Enter, and a second later you're clicking around a working app. That second is deceptively busy. Between the keystroke and the first working button there's a DNS lookup, a couple of cryptographic handshakes, a streamed HTML document, a fan of parallel downloads, a serialized React tree, and a reconciliation pass that stitches JavaScript onto server-rendered markup without throwing any of it away.