React · Senior · Question 51 of 75
What does prerender from react-dom/static do differently from streaming SSR?
- ✓Correct answer: It waits for all data and Suspense boundaries to resolve and returns complete HTML, suited for static generation
- 2It renders only on the client
- 3It skips Server Components
Explanation
Streaming APIs send HTML as soon as possible and fill in boundaries later. prerender is for build-time or cache-friendly output where waiting for everything is fine.