T
TanStack6mo ago
xenial-black

How to debug error "Expected to find a dehydrated data on window.__TSR_SSR__.dehydrated"

I am seeing this error in my SSR setup with Vite. I've been trying to follow the directions at https://tanstack.com/router/latest/docs/framework/react/guide/ssr#ssr but can't seem to fix this error.
SSR | TanStack Router React Docs
Server Side Rendering (SSR) is the process of rendering a component on the server and sending the HTML markup to the client. The client then hydrates the markup into a fully interactive component. The...
5 Replies
xenial-black
xenial-blackOP6mo ago
GitHub
router/packages/start-server-core/src/ssr-server.ts at main · TanS...
🤖 Fully typesafe Router for React (and friends) w/ built-in caching, 1st class search-param APIs, client-side cache integration and isomorphic rendering. - TanStack/router
xenial-black
xenial-blackOP6mo ago
It says nothing about that in the docs
robust-apricot
robust-apricot6mo ago
Could you please post a reproduction?
robust-apricot
robust-apricot6mo ago
It could just be that the guide is a bit outdated

Did you find this page helpful?