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

client.tsx

7 lines244 Bytes

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