Chapter 02
Static, dynamic and prerendered
What makes a route build-time or request-time: request-time APIs and their async form, Partial Prerendering,generateStaticParams and dynamicParams, and where "use client" goes in a Next.js app.- 010What decides whether a route is prerendered at build time or rendered per request?Corehard
- 020Why are
params,searchParams,cookies()andheaders()async?medium - 030What is Partial Prerendering, and what ends up in the static shell?Corehard
- 040How do
generateStaticParamsanddynamicParamshandle paths unknown at build time?medium - 050Where should
"use client"go in a Next.js page, and what does a high boundary cost?medium - 060How do you keep a route static, and how do you find what made it dynamic?hard