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

entry-client.tsx

7 lines239 Bytes

1import { RouterClient } from '@tanstack/solid-router/ssr/client'
2import { hydrate } from 'solid-js/web'
3import { createRouter } from './router'
4​
5const router = createRouter()
6​
7hydrate(() => <RouterClient router={router} />, document.body)