Skip to content

Fix note rendering in RSC docs example#8464

Open
morning-verlu wants to merge 1 commit into
reactjs:mainfrom
morning-verlu:codex/fix-rsc-note-example
Open

Fix note rendering in RSC docs example#8464
morning-verlu wants to merge 1 commit into
reactjs:mainfrom
morning-verlu:codex/fix-rsc-note-example

Conversation

@morning-verlu
Copy link
Copy Markdown

@morning-verlu morning-verlu commented Jun 1, 2026

Fixes the Server Components example so the loaded note is consistently treated as an object.

The client example now waits until the note is loaded before reading authorId, and both examples render note.content instead of rendering the whole note object.

Closes #6933.

Validation:

  • git diff --check -> passed

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 1, 2026

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! 🙌

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]: note should be object or string

1 participant