Skip to content

docs: clarify Client Components are pre-rendered during SSR#8489

Open
LuxologyGG wants to merge 1 commit into
reactjs:mainfrom
LuxologyGG:fix/auto-issue-7223
Open

docs: clarify Client Components are pre-rendered during SSR#8489
LuxologyGG wants to merge 1 commit into
reactjs:mainfrom
LuxologyGG:fix/auto-issue-7223

Conversation

@LuxologyGG

@LuxologyGG LuxologyGG commented Jun 21, 2026

Copy link
Copy Markdown

Summary

Closes #7223

The use client reference incorrectly implied that Client Components are skipped during server rendering, when they are actually pre-rendered to HTML on the server and hydrated on the client.

This PR clarifies that Client Components are pre-rendered on the server during SSR and updates the Client/Server Component definitions to reflect server pre-rendering plus client hydration.

Before / After

Before: "opting-out of evaluating any code imported from client-marked code" and Client Components defined as "rendered on the client."

After: Client Components are pre-rendered on the server to HTML, bundled separately, and hydrated on the client.

Verification

Documentation-only change.

Fixes reactjs#7223

The use-client reference incorrectly implied that Client Components
are skipped during server rendering. Client Components are pre-rendered
to HTML on the server and hydrated on the client.
@github-actions

Copy link
Copy Markdown

Size changes

Details

📦 Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@LuxologyGG LuxologyGG marked this pull request as ready for review June 23, 2026 20:00
Copilot AI review requested due to automatic review settings June 23, 2026 20:00

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Typo]: Client Components running on the server

3 participants