Hydration error from dynamic asset link rendering SPA shell
hi! i'm wondering about this hydration error. I can see that all of my requests are being served the spa shell that was prerendered. when a deeper route loads as the landing page there's an asset link mismatch. i see a hydration error but do see
suppressHydrationWarning
just not on all of the link
s. i'm wondering if i'm not configuring things correctly.
thanks!
2 Replies
fair-rose•14h ago
so looks like your shell has different CSS than what the client renders upon hydration
where does the CSS come from in the prerendered shell?
fair-rose•14h ago
maybe need to set a different mask path? https://tanstack.com/start/latest/docs/framework/react/spa-mode#shell-mask-path
SPA mode | TanStack Start React Docs
What the heck is SPA mode? For applications that do not require SSR for either SEO, crawlers, or performance reasons, it may be desirable to ship static HTML to your users containing the "shell" of yo...