As asked
Explain when React Server Components are the right tool and when they are not. What changes in your mental model versus traditional React?
Sample answer outline
RSCs run on the server, never ship to the client, and can directly read from the database or filesystem. Good fit: pages that compose lots of data and want zero client JS for that composition (dashboards, content sites, lists). Not a fit: highly interactive UI (charts you can drag, editors, live forms) which still needs client components. The mental model shift: split your tree into server and client boundaries, pass data down as props (serialisable only), avoid mixing concerns. Pitfalls: passing event handlers across the boundary, accidental waterfalls, and the suspense story for streaming.
Expect these follow-ups
- What is the hydration story for a page that mixes RSC and client components?
- When does RSC make a page slower, not faster?
- How does this change with Partial Prerendering?