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

client.tsx

7 lines226 Bytes

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