Skip to contentOpen 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' 5const router = createRouter() 7hydrateRoot(document.getElementById('root')!, <StartClient router={router} />)