Skip to content
Source
Sign inSign up
TanStack/cli
Open History to see the last commit

client.tsx

8 lines227 Bytes

1import { hydrateRoot } from 'react-dom/client'
2import { StartClient } from '@tanstack/react-start'
3​
4import { createRouter } from './router'
5​
6const router = createRouter()
7​
8hydrateRoot(document, <StartClient router={router} />)