CodeZettaInterview Hub

Next.js · Client Components · Junior · Concept

Do Client Components still render on the server?

Short Interview Answer

Yes — they SSR for HTML, then hydrate on the client.

Detailed Explanation

Initial HTML can include client component output. Hydration attaches listeners. Avoid browser-only APIs during render; use effects or dynamic import with `ssr: false` when necessary.

Common Mistake

Assuming 'use client' skips SSR entirely.

Did you know this answer?