CodeZettaInterview Hub

React · Server Components · Senior · Comparison

Server vs Client Components — boundaries?

Short Interview Answer

Add 'use client' to modules that need interactivity; server components can import client children.

Detailed Explanation

Keep client islands small. Pass serializable props across the boundary.

Did you know this answer?