Skip to content

Commit 3fefe57

Browse files
committed
no prefetch demos
1 parent 8e4c348 commit 3fefe57

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

apps/docs/src/server/home/index.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export const page = new Get("/", (c) => {
2222

2323
<a
2424
href="/demo/memory"
25+
data-no-prefetch
2526
class="bg-foreground block rounded-md p-5 no-underline transition-shadow hover:shadow-sm"
2627
>
2728
<h2 class="text-background mt-0 mb-2 text-2xl">Demo</h2>
@@ -56,6 +57,7 @@ function* Features() {
5657
{
5758
title: "Performance First",
5859
href: "/demo/parallel",
60+
noPrefetch: true,
5961
content:
6062
"Evaluate components in parallel and stream them as they are generated.",
6163
},
@@ -86,6 +88,7 @@ function* Features() {
8688
<a
8789
href={feature.href}
8890
class="bg-muted/25 hover:bg-background border-secondary/50 hover:border-secondary rounded-md border p-4 no-underline transition-colors hover:shadow-xs"
91+
data-no-prefetch={feature.noPrefetch}
8992
>
9093
<h2 class="my-0 text-base">{feature.title}</h2>
9194
<p class="text-muted-foreground mt-1 mb-0 text-sm font-light">

0 commit comments

Comments
 (0)