docs(blog): use createFromReadableStream for the dashboard snippet#873
docs(blog): use createFromReadableStream for the dashboard snippet#873tannerlinsley merged 1 commit intomainfrom
Conversation
The Why this matters snippet showed a leaf server fragment dropped into a client tree, which is the basic primitive case (createFromReadableStream), not a Composite Component (which is for fragments that expose slots).
✅ Deploy Preview for tanstack ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughUpdated a blog post example to demonstrate RSC stream handling. Replaced composite component pattern with Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
✨ Finishing Touches🧪 Generate unit tests (beta)
Review rate limit: 4/5 reviews remaining, refill in 12 minutes. Comment |

Summary
<CompositeComponent>for what is structurally a leaf server fragment with no client-filled slotscreateFromReadableStream), matching the pattern from the priorreact-server-componentspost<CompositeComponent>is still introduced later in the post for the slot-based case (PostPage), which is its correct homeTest plan
Summary by CodeRabbit