DEV Community

Discussion on: TanStack Is Eating React's Ecosystem — And Nobody Is Talking About It

Collapse
 
trinhcuong-ast profile image
Kai Alder

Had the exact same realization a few months back. Checked my package.json and it was like — wait, when did TanStack become my entire stack?

The type-safe search params in TanStack Router is what sold me too. I was doing so much manual URLSearchParams parsing with zod schemas bolted on top, and it was always fragile. One typo in a param name and you're debugging for an hour.

One thing I'd push back on slightly — TanStack Form is good but I wouldn't call it a React Hook Form "successor" just yet. RHF's uncontrolled approach still has some real performance advantages for large forms with lots of fields. I've tried both on a form with 40+ fields and RHF was noticeably snappier. TanStack Form's DX is nicer though, I'll give it that.

Also worth noting that TanStack Start's hosting story is way more flexible than Next.js. You can deploy it basically anywhere that runs Node, no special adapter or platform tie-in needed. That alone is a huge win for teams that don't want to be on Vercel.

Collapse
 
harsh2644 profile image
Harsh

Absolutely right! The TanStack ecosystem is truly becoming a game-changer. The type-safe search params feature is such a huge relief - I also used to struggle with URLSearchParams and writing zod schemas, yet bugs would still creep in somewhere.

Thanks for sharing your experience comparing TanStack Form and React Hook Form! Good to know about the performance difference with 40+ fields. I hadn't tested at such a large scale yet, so it's useful to know that RHF might still be better for heavy forms.

And yes, the deployment flexibility point about TanStack Start is really important. With Next.js, people become dependent on Vercel, which isn't ideal for all teams. Being able to deploy anywhere on a Node environment is definitely an advantage.

What have you built with the TanStack ecosystem? Have you used it in any production projects?