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

client.tsx

6 lines209 Bytes

1import { hydrate } from 'solid-js/web'
2import { StartClient, hydrateStart } from '@tanstack/solid-start/client'
3​
4hydrateStart().then((router) => {
5 hydrate(() => <StartClient router={router} />, document)
6})