mirror of
https://github.com/linsa-io/linsa.git
synced 2026-01-12 12:20:23 +01:00
Move to TanStack Start from Next.js (#184)
This commit is contained in:
8
web/app/client.tsx
Normal file
8
web/app/client.tsx
Normal file
@@ -0,0 +1,8 @@
|
||||
/// <reference types="vinxi/types/client" />
|
||||
import { hydrateRoot } from "react-dom/client"
|
||||
import { StartClient } from "@tanstack/start"
|
||||
import { createRouter } from "./router"
|
||||
|
||||
const router = createRouter()
|
||||
|
||||
hydrateRoot(document.getElementById("root")!, <StartClient router={router} />)
|
||||
Reference in New Issue
Block a user