Course map
Stage 1: App Router Foundations
Stage 2: The Rendering Model
Stage 3: Data, Caching and Mutations
Stage 4: Full-Stack Next.js
Stage 5: Production and Specialization

Part 03 / Topic 4 of 7

<Link> and client-side navigation, recapped

Every page since Part 1 has used <Link href="...">, but Part 2 never explained why it beats a plain <a> tag. Reading directly from the installed package's own linking guide: <Link> is "prefetched... when they enter the user's viewport" for routes reachable from the current page, and clicking one performs a client-side transition — "Instead of reloading the page, it updates the content dynamically," keeping shared layouts (like section 1's nav) mounted rather than tearing the whole document down and rebuilding it.

This is exactly why section 1's claim — the StoreNav layout "does not rerender" on navigation — matters in practice: it is the mechanism <Link> relies on. A plain <a href="/store/products"> would still work, but every click would reload the entire document from scratch, including re-running the root layout, re-fetching the font files, and losing any client-side state the page held — the full-page-reload behavior Next.js's own docs contrast <Link> against. Every navigation link in this harness, from Part 1 onward, has already been a <Link>, including the StoreNav built in section 1 and the catalog/search links Part 2 built — this section is naming the mechanism those parts were already using, not introducing new code.

Done here? The practice set for Part 3 — including the solutions — is on the part page.

Search the guide