r/reactjs • u/Just_a_Curious • Jun 09 '26
Discussion Tanstack Router with Shadcn/ui setup cost worth it?
Looks like there are irreconcilable bugs, is it worth it? At my work most backend engineers demand python, so I have to make a FastAPI template that serves a static SPA bundle. I wanted to go with Tanstack for the router and obviously shadcn ui. But the online guide is not inspiring confidence or maintainability: How to Integrate TanStack Router with Shadcn/ui | TanStack Router Docs
Has anyone done it and maintained it for 6+ months?
0
Upvotes
15
u/jax024 Jun 09 '26
Are we reading the same docs? This stack is among the easiest and most stabile feeling I’ve used on the web.
10
u/emptee_m Jun 09 '26
Couple of things:
1
u/Just_a_Curious Jun 09 '26
Folks, please read the guide I linked. It shows workarounds needed to prevent animation issues/flashing content/theme not being respected with several shadcn components such as modal, sheet, and navigation table, and button links. These are the issues I'm wondering if anyone has worked around and found stability beyond 6 months, felt like the headache was minimal etc
1
u/cult0cage Jun 09 '26
Odd… I’ve used tanstack router with shadcn for the past few small apps at my client - what exactly are your concerns? Everything has been very straightforward to me
1
u/Savalava Jun 09 '26
" the online guide is not inspiring confidence or maintainability"
Why not?
It looks fine to me.
There's nothing to setting it up - an llm will do it for you in a few minutes.
1
u/BlazingThunder30 Jun 09 '26
What irreconcilable bugs are there? We use this stack, it's fine. Also; your component lib shouldn't be of concern when choosing a router. This will compile to a static bundle fine; we serve from a resources folder in spring boot. I'm sure python can do the same
Everything in the links you send are just tutorials on how to do common things that touch both the router and shadcn. It's quite basic, and not necessary if you want to set up your components differently.
3
u/KevinVandy656 Jun 09 '26
I use tanstack router and shadcn for every new project I spin up and never have problems. I didn't even know about this hidden guide.
1
u/Sebbean Jun 09 '26
What cost?
1
u/Embostan Jun 09 '26
Why use ShadCN?
-1
u/TheRealSeeThruHead Jun 09 '26 edited Oct 14 '26
Incididunt exercitation magna adipiscing exercitation veniam ea. Fugiat deserunt sed id irure irure cupidatat commodo voluptate aliquip proident sed reprehenderit aliquip excepteur.