Risk Involved in Adopting Now
I know Tanstack Start is in Alpha and not ready for adoption but I am starting at a new company greenfielding all new products. I have been using NextJS for years so that is my natual instinct but I feel Tanstack Start is perfect for the dashboard apps we need to build.
Should we adopt Tanstack Start now and hope for the best? Maybe just use Vite React and Tanstack Query? Or should we just use NextJS since its the current React standard?
I feel torn and would really love some honest opinions and feedback. Cant wait for Tanstack Start to be fully released.
6 Replies
helpful-purple•11mo ago
If you don't need server rendering right now you could just build w/ vite and tanstack router. Otherwise I think Tanner has said he is hoping for a beta before Thanksgiving 🙂 There's def still a lot of rough edges and API churn ATM
equal-aqua•11mo ago
+1 Migrating over once it's in beta doesn't look like it'll be bad! If you keep things client side and vanilla it's just additive
foreign-sapphireOP•11mo ago
Dope thanks for the heads up ya'll! Now I am even more excited for Thanksgiving!
One other question that feels weird to ask. But I am currenlty working in a Rails app and using ERB and Tubro for everything and want to transition to React. Man working with ERB Turbo and Stimulus has really made me appreciate React.
Do you all think it would be ludicrous to embed Tanstack Start in a Rails app? Or would Vite and Tanstack router essentially be the same thing just without SSR?
Still wrapping my head around what Tanstack Start actually is have been hearing a ton about what it does and I want in.
Still wrapping my head around what Tanstack Start actually is have been hearing a ton about what it does and I want in.
helpful-purple•11mo ago
You probably wouldn't embed Start in a Rails app. It would probably be more like turning your Rails app into a JSON API and TanStack Start would work with that.
If you don't wanna go that far you can use Inertia to render views in your Rails app as React components
I have some Rails experience so I feel your pain. They are all about developer happiness until it comes to the frontend. Anything beyond jQuery is too complex and bad 😢
foreign-sapphireOP•11mo ago
Yeah it could be worse the code is clean just feels like so much more work to build something and always just falls a tiny bit short in quality due to all the tools the react community gives you. Ruby has a ton of cool stuff like shadcn/ui port, they have their own version of hooks called stimulus-use. With turbo you can stream to the client and do realtime data. Honestly its super impressive given the size of the Ruby community in comparison.
The fact is in my opinion JSX is just so good and makes small quality of life enchantments easy and all those small things add up and the amount of code it takes to write equivalent UX is so much more work and feels more brittle due to the amount of code required and harder to write reusable JS since its tied to the markup.
Then you throw one tool like tanstack-query and effort to quality blows the comparison out of the water never mind everything else the React community has to offer and better access to the rest of the JS community. Sorry for the essay just had to get it off my chest. lol
other-emerald•11mo ago
Im in the same position, im slowly creating a starter using tanstart and trying to replicate all cases that I do in NextJs while continuing to use NextJs for the projects until Tanstart is in beta.