Quick Answer
A Server Component that imports a Client Component is fine รขโฌโ the Client Component is marked for client-side rendering. But a Client Component can't import a Server Component directly because the Client Component is in the client bundle and Server Components must never be. However, a Server Component can pass a Server Component as a JSX prop (children) to a Client Component.
Answer
React fails the build. Server Components cannot appear under Client boundaries.
S
SugharaIQ Editorial Team
Verified Answer
This answer has been peer-reviewed by industry experts holding senior engineering roles to ensure technical accuracy and relevance for modern interview standards.