Open History to see the last commit
1import * as React from 'react'
2import ReactDOM from 'react-dom/client'
3β
4import { createRouter } from './router'
5import { App } from '.'
6β
7const router = createRouter()
8β
9const state = (window as any).__TANSTACK_ROUTER_STATE__
10β
11router.hydrate(state)
12β
13ReactDOM.hydrateRoot(document, <App router={router} />)