Adding defaultSsr can't override it
Hi, I'm migrating mi app from tanstack router => tanstack start.
I can't migrate all of them at once, this is just a POC for us.
I've added defaultSsr : false and then in the poc page I've added ssr : true but it doesn't make the page SSR.


4 Replies
fair-roseOP•2mo ago


fair-roseOP•2mo ago
Is my setup wrong?
like-gold•2mo ago
thats seems correct
but its a hierarcy so if you have defaultssr: false i don't think anything can be ssr true but i could be wrong
fair-roseOP•2mo ago
Yeap. It looks like that, uhmm maybe I'll have to use ClientOnly in all the routes and just do ssr for 1 page
Thanks for confirming. So I don't really need component: RootComponent at least I migrate all my routes to SSR