T
TanStack6mo ago
firm-tan

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
flat-fuchsia
flat-fuchsia6mo ago
Hi , do you mean PPR in nextjs ?
firm-tan
firm-tanOP6mo ago
Yes exactly, but without the CDN caching and edge worker 😅
flat-fuchsia
flat-fuchsia6mo 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.
firm-tan
firm-tanOP6mo 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?