T
TanStack6mo ago
like-gold

[DISSCUSSION] Tanstack Start or just Router with Vite

If you were given to build an application where all the business logic is on an external server (jwt authentication, refresh tokens, crud endpoints...) with a non-js backend framework (e.x .NET), would you still choose start or go with pure vite & tsr ? What are your thoughts on this, if you would choose Start, would you use the BFF approach or any other solutions?
4 Replies
fair-rose
fair-rose6mo ago
do you need SSR?
like-gold
like-goldOP6mo ago
Nope, i guess it all goes down to this question lol
fair-rose
fair-rose6mo ago
you can of course SSR without start but its just easier then I wouldn't use start as you would not use any of its additions to router
like-gold
like-goldOP6mo ago
yeah, it makes sense to think if you need any of it's benefits before starting to use it. If an api is already given to you by another team and your client is behind auth and doesn't need SSR, just go with ol vite&router.

Did you find this page helpful?