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

client.tsx

12 lines277 Bytes

1import { StrictMode, startTransition } from 'react'
2import { hydrateRoot } from 'react-dom/client'
3import { StartClient } from '@tanstack/react-start/client'
4​
5startTransition(() => {
6 hydrateRoot(
7 document,
8 <StrictMode>
9 <StartClient />
10 </StrictMode>,
11 )
12})