Integrating Tanstack Start & Astro together
I wondering if it makes sense to combine both Tanstack Start (say, an internal user facing app with and/or without authentication) and Astro (say, for the marketing part of the website like root
/
, /blog
, etc routes, everything else would use Tanstack start)
I see some good guides online about integrating Tanstack Router with Astro but curious how this differs using Start
https://bjoernf.com/blog/tanstack-router-spa-co-located-in-astro"TanStack Router SPA co-located in Astro" | Björn Friedrichs
I was setting up a site that primarily serves a front-page plus documentation, where most parts are static and I wanted to fully generate them ahead of time to serve from a bucket. Astro makes this very easy, and also enables me to create and iterate on content for documentation very quickly. Furthermore, it also has the nice benefit being able ...
2 Replies
metropolitan-bronze•11mo ago
I would say probably start + Astro doesn’t make that much sense
Since Astro has his own backend
You can do tanstack router to add spa routes
wise-white•11mo ago
I'd also say if you have enough need for Start over Astro use it otherwise just stick to Astro, using both is just adding deploy complexity. Tho if you have separate app & content/marketing teams than it might be a good idea