T
TanStack8mo ago
quickest-silver

TanStack Start or TanStack Router + Astro

Hi everyone, I'm building a project with two main parts: a public-facing section (landing page, about page, etc.) and an SPA. Since we're using an external Express backend, I'm debating whether to build the public-facing part with Astro and the SPA with TanStack Router or just use TanStack Start for everything. If I go with TanStack Start, I'd still use the external Express backend instead of the built-in API routes. Would love to hear your thoughts! Thank you
2 Replies
fair-rose
fair-rose8mo ago
Hey, I would recommend just using tanstack, keeping your stack simple. If you need stuff like image optimization etc I think there are some vite plugins you can use. Are there any other features in astro that make it a compelling option for you ? Also is the express backend already existing?
quickest-silver
quickest-silverOP8mo ago
Thanks for your comment. There is another person working on the Express backend. I wanted to use Astro for the public facing sections juct for SEO. For the SPA part, as I wanted to connect the Express backend, so I thought Tanstack Router should be enough

Did you find this page helpful?