Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions packages/app-astro/src/pages/client-side-rendered.astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
import { ClientRouter } from 'astro:transitions'
import ClientSideRenderedPage from '../components/ClientSideRenderedPage'
---

Expand All @@ -8,7 +7,6 @@ import ClientSideRenderedPage from '../components/ClientSideRenderedPage'
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>Astro Client Side Rendered Benchmark</title>
<ClientRouter />
</head>
<body>
<ClientSideRenderedPage client:only="react" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,13 @@ import MethodologyNotes from '../components/MethodologyNotes.astro'
> in its config. All other frameworks (Nuxt, SvelteKit, SolidStart, Astro) disable
SSR per-route without a separate build.
</li>
<li>
Astro uses React for its client-side rendered test: the benchmark table and
detail components are React islands rendered with <code
>client:only="react"</code
>, which prevents Astro from server-rendering those components and lets them
render only in the browser. Astro's <code>ClientRouter</code> is not used for
this CSR test because it enables client-side transitions and soft navigation behavior
rather than client-only rendering.
</li>
</MethodologyNotes>
Loading