mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
fix(start-plugin-core): keep <ClientOnly> children where server components render (C1)
Step 5 erased <ClientOnly> children in every server env, the RSC env included. A Flight render serialises ClientOnly's props for the browser, so the children were gone there too: the browser never rendered them (JSX in a handler, a composite component's slot). Erase only where HTML is rendered; SPEC J4.11. e2e: rsc-client-only (Vite build, Rsbuild build, Rsbuild dev). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
31749a2585
commit
df2bab3dd4
8 changed files with 215 additions and 7 deletions
Loading…
Add table
Add a link
Reference in a new issue