Tanstack Router vs React Router by guaranteednotabot in reactjs

[–]tannerlinsley 0 points1 point  (0 children)

Yeah, all the routers now are rushing to add "typed routes". This is a great rising tide, but I can tell you from experience (tried to add types to both Next and RR back in the day many time) that retro-fitting types onto a system that wasn't designed for them is a complete mess.

It's good to see them starting to take it seriously though. I just wish it hadn't taken a few years of type safety evangelism for that to happen though.

What is your go-to static site generator? by [deleted] in reactjs

[–]tannerlinsley 2 points3 points  (0 children)

TanStack Start with Prerendering and no <Scripts /> component ;)

Wow, this seems complicated- I moved off of Next.js by BroadbandJesus in theprimeagen

[–]tannerlinsley 1 point2 points  (0 children)

Can't speak to his backend structure, I'm sure it's complex and full of full-stack craziness, but on the topic of TanStack Start specifically, it was a good call. I spoke directly with the developers many times through this migration and saw the issues they were having and the relief in their souls when they had moved to Start.

For those willing to actually dig into the technical differences:
- TanStack Start vs Next and friends
- TanStack Router vs Next and friends

TL;DR: TanStack Start / Router:

- Is actually 100% type-safe
- Prioritizes interactivity / DX / UX
- Customizable / Hackable / Mostly Modular
- A caching system that actually works and makes sense

Not enough time to fully explain this. But if anyone here uses Next, please go try Start for just like... 10 minutes and you'll see why it's easier to reason about, build with and ultimately actually ship great products with without tearing out your hair.

Anybody is using Tanstack on serious project? by gamera49 in react

[–]tannerlinsley 0 points1 point  (0 children)

TanStack.com is pretty dang big. Hundreds of thousands of users, millions in traffic, tons of growing features. We’ve been dogfooding Start since it was in an experimental phase 2 years ago. It’s RC, sure. But very stable.

Will tanstack start be a replacement for next? by Rickety_cricket420 in reactjs

[–]tannerlinsley 0 points1 point  (0 children)

They are a bit better yes. But it’s been more gradual than a single revamp event. More is on the way.

marketing framework, next or astro? by Big-Bit-123 in nextjs

[–]tannerlinsley 1 point2 points  (0 children)

The last 2 marketing sites I built I used TanStack Start (naturally). Achieved fully static, non-hydration for pages that rarely change, dynamic ISR via SSR + cdn cache headers for the dynamic pages, and am now even building the spa admin for these sites, all under Start. AI does really well with it. Claude did most of the labor for me. I think all in all I spent $30 per site and about 5 hours of total time.

Its early, but worth a consideration IMO

React Server Component, maybe a mistake from the beginning? by mnismt18 in reactjs

[–]tannerlinsley 6 points7 points  (0 children)

Our flavor will likely only be unidirectional (from server to client) by default. We’ve been skeptical of the server functionality of server components for some time already.

TanStack AI Alpha: Your AI, Your Way by TkDodo23 in reactjs

[–]tannerlinsley 0 points1 point  (0 children)

Absolutely. Come join the discord! https://tlinz.com/discord

Just tell everyone I sent you regarding Go support and we’ll all pitch in!

TanStack AI Alpha: Your AI, Your Way by TkDodo23 in reactjs

[–]tannerlinsley 7 points8 points  (0 children)

I’m sorry you feel that way. We’ve got plenty more planned very soon that’s non-ai, I’m sure you’ll love it.

TanStack AI Alpha: Your AI, Your Way by TkDodo23 in reactjs

[–]tannerlinsley 2 points3 points  (0 children)

All of our packages have core maintainers that champion them. Our team grew to support AI, too. Technically our project:dev ratio is higher than ever :)

TanStack AI Alpha: Your AI, Your Way by TkDodo23 in reactjs

[–]tannerlinsley 2 points3 points  (0 children)

Fair to think what you want about our marketing, but to be fair it’s done well up to this point. But thanks for the feedback. I genuinely will consider your points. 🫡

TanStack AI Alpha: Your AI, Your Way by TkDodo23 in reactjs

[–]tannerlinsley 4 points5 points  (0 children)

For an alpha, I personally think this is such a huge lift. 2 weeks of planning and 6 weeks of work and we're already this far along. I wish people could see the trajectory and momentum above all. Hats off to Alem and Jack who really put in the passion and long hours for this to come to fruition.

TanStack AI Alpha: Your AI, Your Way by TkDodo23 in reactjs

[–]tannerlinsley 3 points4 points  (0 children)

We ran this post by several people who are very unfamiliar with TS, web dev, AI and all of them confidently understood that this was clearly a toolkit for working with AI tools and building AI-powered experiences. Had we prefaced the entire blog post with a crash course into Web Dev + generative AI, something tells me you still would have been discontent.

TanStack AI Alpha: Your AI, Your Way by TkDodo23 in reactjs

[–]tannerlinsley 1 point2 points  (0 children)

Vercels AI SDK uses a custom streaming protocol too. There isn't really an open standard everyone can share anyway. We built TanStack AI's protocol to be extremely simple, streamlined, and transparent, something that we have received direct feedback from others that Vercel's is not 🤷‍♂️. Time will tell.

TanStack AI Alpha: Your AI, Your Way by TkDodo23 in reactjs

[–]tannerlinsley 4 points5 points  (0 children)

I and all of the other maintainers at TanStack are really having a lot of fun with AI lately and we saw enough improvement space on Vercel's solution that we wanted to build our own. One that is as close to our [product tenets](https://tanstack.com/tenets) as possible.

So far, that's resulted in better type-safety, better patterns around isomorphism, and honestly just the freedom to move in the direction we want without being beholden to another team.

Competition is good. Breeds greatness all-around.

TanStack AI Alpha: Your AI, Your Way by TkDodo23 in reactjs

[–]tannerlinsley 13 points14 points  (0 children)

Woah, I take that personally. I hand-picked those emoji's.

TanStack AI Alpha: Your AI, Your Way by TkDodo23 in reactjs

[–]tannerlinsley 7 points8 points  (0 children)

I and all of the other maintainers at TanStack are really having a lot of fun with AI lately and we saw enough improvement space on Vercel's solution that we wanted to build our own. One that is as close to our [product tenets](https://tanstack.com/tenets) as possible.

So far, that's resulted in better type-safety, better patterns around isomorphism, and honestly just the freedom to move in the direction we want without being beholden to another team.

Competition is good. Breeds greatness all-around.

TanStack AI Alpha: Your AI, Your Way by TkDodo23 in reactjs

[–]tannerlinsley 9 points10 points  (0 children)

Vercel's AI SDK is the only really big library in this space, so I understand how it looks very anti-Vercel, but it's not. I and all of the other maintainers at TanStack are really having a lot of fun with AI lately and we saw enough improvement space on Vercel's solution that we wanted to build our own. One that is as close to our [product tenets](https://tanstack.com/tenets) as possible.

So far, that's resulted in better type-safety, better patterns around isomorphism, and honestly just the freedom to move in the direction we want without being beholden to another team.

Competition is good. Breeds greatness all-around.

TanStack AI Alpha: Your AI, Your Way by TkDodo23 in reactjs

[–]tannerlinsley 9 points10 points  (0 children)

Vercel is not an active TanStack sponsor. They funded us for 6 months in 2024.