Minimal reproduction for TanStack/devtools#482. It uses TanStack Start and @tanstack/devtools-vite, with no Paraglide dependency.
pnpm install
pnpm devOpen the URL printed by Vite (normally http://localhost:5173) and watch the terminal and browser console.
The route intentionally renders different text on the server and client:
const runtime = typeof window === 'undefined' ? 'server' : 'client'React reports one hydration mismatch. With devtools() enabled in vite.config.ts, that error is repeatedly forwarded between Vite's client and server console bridges, producing increasingly nested messages such as:
[Server] [console.error] [Server] [console.error] ...
Stop the dev server promptly after confirming the loop because its output grows quickly.
Remove devtools() from the plugin list in vite.config.ts and remove its import, then restart the server. The hydration error is logged once and the server remains responsive.
@tanstack/devtools-vite0.8.3@tanstack/react-start1.168.44@tanstack/react-router1.170.27- Vite 8.2.1
- React 19.2.8