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

entry-client.tsx

7 lines240 Bytes

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