Skip to contentOpen History to see the last commit
client.tsx
8 lines266 Bytes
2import { hydrateRoot } from 'react-dom/client' 3import { StartClient } from '@tanstack/start' 4import { createRouter } from './router' 6const router = createRouter() 8hydrateRoot(document!, <StartClient router={router} />)