Open History to see the last commit
1import { createFileRoute } from '@tanstack/react-router'
2import crypto from 'node:crypto'
3export const Route = createFileRoute('/')({
4 ssr: () => {
5 if (crypto.randomInt(0, 2) === 0) {
6 return 'data-only'
7 }
8 return false
9 },
10 component: () => {
11 return <div className="p-2">hello world</div>
12 },
13})