T
TanStack3mo ago
extended-salmon

Pre-render static parts of each route

Love Tanstack Start so far ! I’ve just got a question — coming from nextjs, i wonder if it’s possible with start to pre-render static routes & also only the static parts of dynamic routes, like what they’re doing with the experimental dynamic io & suspense ? If not yet, is it in the roadmap ?
4 Replies
xenial-black
xenial-black3mo ago
Hi , do you mean PPR in nextjs ?
extended-salmon
extended-salmonOP3mo ago
Yes exactly, but without the CDN caching and edge worker 😅
xenial-black
xenial-black3mo ago
There are pre-rendered static routes and dynamic routes generated at build time, but there is no ISR without a CDN, and no PPR available yet. I think caching and rendering strategies are not currently a top priority in TanStack Start, at least not to the level of frameworks like Next.js. RSC is not available yet either — we’re currently using universal rendering (basic SSR), similar to what you’d find in frameworks like Nuxt.
extended-salmon
extended-salmonOP3mo ago
I see, I mean I imagine they’re thinking about it, maybe experimenting with it, but it isn’t a priority yet. Thanks for your answers 🙏🏼

Did you find this page helpful?