Read the build

5:54 film

After this film you canread the next build output: what's prerendered, what streams, and why.

Exercise

Download the exercise (a zip). Unzip it, read exercise.md, then in exercise/ run npm install and node check.mjs. The checker runs a real build and says PASS or FAIL for each criterion.

Recall

Answer each one out loud before you open it.

  1. What does a half circle next to a route promise?

    The build made a static shell for it; the rest is rendered and streamed in when someone asks.

  2. Carol's lamp page broke the build. Why, and what were her three ways out?

    It read params and an uncached lamp outside <Suspense>, so there was no shell to prerender. Stream it behind Suspense, cache the lookup, or mark the page as blocking on purpose.

  3. After 'use cache', why are the three lamps ○ but /lamps/[id] still ◐?

    The three listed lamps were prerendered in full. The pattern's fallback row stands for ids the build didn't list, which render on request into its shell.

Docs this film covers