We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bdf789 commit c0d4659Copy full SHA for c0d4659
apps/next/app/ssr/page.tsx
@@ -3,5 +3,6 @@ import { SSRTestScreen } from './screen'
3
export const runtime = 'edge'
4
5
export default function Page() {
6
- return <SSRTestScreen></SSRTestScreen>
+ const content = 'This page is rendered on the edge. It is not statically rendered.'
7
+ return <SSRTestScreen content={content}></SSRTestScreen>
8
}
apps/next/app/ssr/screen.tsx
@@ -2,11 +2,11 @@
2
import { Paragraph, YStack } from '@t4/ui'
-export function SSRTestScreen() {
+export function SSRTestScreen(props: { content: string }) {
return (
<YStack flex={1}>
<Paragraph role='heading'>
9
- This page is rendered on the edge. It is not statically rendered.
+ {props.content}
10
</Paragraph>
11
</YStack>
12
)
0 commit comments