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