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

client.tsx

10 lines399 Bytes

1// DO NOT DELETE THIS FILE!!!
2// This file is a good smoke test to make sure the custom client entry is working
3import { hydrate } from 'solid-js/web'
4import { StartClient, hydrateStart } from '@tanstack/solid-start/client'
5​
6console.log("[client-entry]: using custom client entry in 'src/client.tsx'")
7​
8hydrateStart().then((router) => {
9 hydrate(() => <StartClient router={router} />, document)
10})