r/reactjs • u/derdak • May 19 '26
Why are people moving from Next.js to TanStack Start?
I’ve been seeing a lot of YouTube videos lately about developers moving from Next.js to TanStack Start. As someone still relatively new to the JS ecosystem, it’s hard for me to tell what’s real technical improvement versus YouTube hype/content monetization.
I’d love to hear from people who actually use these frameworks in production or have serious experience with them.
- What problems with Next.js are pushing people away?
- What does TanStack Start do better in practice?
- Is this mainly a DX trend, performance thing, architecture preference, or just “new shiny tool” energy?
- Would you recommend a beginner/indie developer learn TanStack Start today, or is Next.js still the safer/default choice?
Looking for honest opinions from experienced devs rather than influencer takes.
139
Upvotes
104
u/dom_eden May 19 '26 •
NextJS's obsession with server functions and all that weirdness (mostly the cause of all their CVEs) pushed me to TanStack Start. I also dislike Vercel as a company.
96
u/modus-operandi May 19 '26 edited May 19 '26
I can only speak for myself, but I feel like with Next.js comes a lot of just 'accepting the way things are done'. Which is fair, it's a framework, that's generally the run of things; but it annoys me. Say I want to implement something, so I'll have half of a plan going in, and then it turns out I can't do it like that, because it's not the way of things. And then I have to take a route that is ass-backward compared to how I would have done it in a more generic setup. There's always somehow a documentation gap on what I'm trying to do. There's a ton of magic that spirits the inner workings of your application away from you. Useful sometimes I guess for quick scaffolding, but nothing I would want in a production application personally. I need control over how the parts connect, how they work, and I want to be able to kill a part of the application and plug in something else instead at any time.
Then there's the whole Vercel and vendor lock-in and ugh. Just... not for me.
TanStack is a framework officially, but it feels more of a toolbox that you can use, that doesn't absolutely dictate how things should be done. You can put your own spin on things. You can use third party tech without too much of a hassle. Closer to boilerplate React, I guess.
75
u/CardinalHijack May 19 '26
Vercel is the problem with NextJS.
Vercel its self is actually really good, but if for whatever reason you dont want to use NextJS on Vercel - good luck.
37
u/BarnacleJumpy898 May 19 '26
It works really really well. Next has been a mess since the app router.
9
u/ElectronicCat8568 May 19 '26
Websites went from server-side MPA, to client-side SPA, to the hybrid SSR meta-framework model. Sounds like natural innovation, but it's really a forced hack that tries to abstract complexity and sweep it under the rug, and all for little good reason except SEO.
33
u/toi80QC May 19 '26
Next.js is kinda vendor-locked to Vercel which was never good - I would argue that YouTube hype was what hyped Vercel up to where it is today, because lots of creators got sponsored by them. Never seen any Tanstack ad though.
Also Next.js is on a streak when it comes to security issues https://vercel.com/changelog/next-js-may-2026-security-release
5
u/mtv921 May 19 '26
People want a solid framework. SSR is also not always the right choice. Today its about the only choice if you want a solid framework. Else you gotta piece together a bunch of tools and libraries yourself to get it done.
TanStack Start is that alternative people have been wanting
8
u/mrgrafix May 19 '26
It’s a different paradigm. Play with both. Next maybe on top now, but cannot argue tanstacks DX
10
u/popiazaza May 19 '26 edited May 19 '26
Enterprise wise, no. TanStack Start isn't old enough. The shift is more about NextJs to Vite. Do more fast client side instead of SSR. Reduce cost and headache. Backend for frontend is security hell. Separate frontend and backend layer solved a lot of issues.
21
u/Nick337Games May 19 '26
There's also a political angle where the head of Vercel is quite right leaning, which may contribute to pushing people away when the other security issues are added and present
10
u/bigorangemachine May 19 '26
The security alerts.
It creates noise... every month there is a new emergency. It creates noise... leadership gets nervous... leads will take quick wins
With the recent vulnerability/exploit tho I'm sure it'll slow down. That can really wreck trust/confidence when its that bad especially how easy it was
3
u/Cahnis May 19 '26
deploying using next is a pain
3
u/Alunnite May 19 '26
The reason why I liked react in the way was because it was relatively unopinionated compared to what I knew in the past and it just let you do what you wanted to do. I still want that.
I still want that
7
u/ugurcankzu May 19 '26
We recently kickstarted two different projects in our company, planning to build them on a React/Vite base. We discussed the pros and cons during the planning phase.
The general consensus is that Next.js feels too bloated because of its heavy full-stack capabilities. I haven't tried TanStack Start yet, but from our perspective, this bloat is a major reason why teams might move away from Next.js.
5
u/AintNoGodsUpHere May 19 '26
Man. React is a fucking chaos.
6
u/luckypanda95 May 19 '26
too big or complex for a simple project.
i don't use Tanstack Start but I'm moving to react router vite
4
u/JonForeman_ May 19 '26
Tanstack Start makes React fun to work with again.
2
u/ForeverLaca May 19 '26
People are moving because there are options that are better for their needs. In my case, It is not that I moved, since I used Next briefly.
My experience was like this: In the midst of the hype, where everyone was speaking wonders about Next, I came across a tool that took a long time to compile a couple of buttons and was undergoing tons of changes. So, my experience with it was terrible and I didn't see any benefit from switching to it.
To be fair, I'm not sure how much the tool has improved since then.
2
u/node-one May 19 '26
It’s 2026 and I still have to wait for a freakin page to compile for seconds like I’m on pentium 3 or something. The codebase is not even crazy big. But this has been always a issue with next. Back in 2020 when pages router was the only thing I was waiting minutes for a listing page in a huge ts codebase for a hot reload. Yes the codebase was trash… but never experienced that with vanilla react or with vite. Rsc obsession is also something that makes zero sense if your backend is written in other language or simply because you have a separate server. You just cannot justify the jump through nexts server as a proxy if you hit scale and performance is important. Overall bad architecture if you’re not doing ssr which is for what? Ecommerce shops or blogs I guess…
2
u/Hewy__ May 21 '26
Personally as a dev who’s used Next for a long time. Tanstack start is just better, it’s genuinely thought through correctly and has some brilliant minds behind the tech. Next has this obsession of making everything server side, whereas react was never really intended to be so, it’s a reactive UI framework on a client. You get so bogged down with RSC and wrapping UI with server components because of server vs client that code bases can bloat easily.
Next also changes everything it wrote every version, it’s actually annoying as shit having to keep up with terminology or why things work, especially in early adoption of the app router, shit didn’t work correctly, was half baked and they even have a habit of doing the same still.
Their middleware got changed to proxy, and it’s still a fairly loose baked solution, compared to tanstacks.
Also if you’re on their mail list for “issues” everyday you get bombarded with numerous problems with their services and admittedly it’s gotten far worse since AI has become more prevalent.
Before tanstack released their RSC implementation (I actually caught a blog post they weren’t meant to have linked on their blog to discord which then got deleted a few months back discussing its implementation) Next to me felt more suited for use for marketing websites, because of SSG it kinda felt best, using it for actual applications like dashboards felt so hacky and messy with server components, ISG and essentially having to go against its fundamental wanting for server side use.
Tanstack as a whole eco system is lit, if I’m doing any form of querying even in next, I’m picking Tanstack query… so why not Tanstack start?
It’s really an insanely well thought out framework, it’s not some abomination (yet) of methods thrown together without thought. There’s so many features that just make it really nice for DX. Out of the box types inferred into your codebase, that you can easily abstract from API routes, serverFns etc. client first, you’re not having to split components for server or client keeping your codebase tidy, with isomorphic methodology’s (both server + client). Queries? You have ways to have them pre rendered or client side even in the same file, and just cache them with tanstack query, job done. Want to slap a middleware on something, cool do it where it is, not with some ugly ass regex in proxy and an iffy on a route call to then pass your handler to it. Want a server function that’s not an api route, cool make one, slap a middleware on it too if you want no problem - heck want that function to do something when called on a server but something different on the client, slap isomorphic to it and handle .server() differently to .client().
It’s exciting to see what the future holds for Tanstack start, Tanner is the goat and a lot of big minds are behind it working on other features in the eco system.
5
u/Mestyo May 19 '26
"New shiny tool"-energy is what drives the content you see online, regardless of context. Next.js is far too established to generate any interaction.
Don't get me wrong, the TanStack suite of tools are generally great, and I'm sure the team has done a fantastic job with TanStack Start. I have not yet tried it, but I think a major difference is that they have a different mental model for RSCs, which may or may not be more to your liking.
Do bear in mind that it's not a fully released product yet. I would personally stick with Next.js.
Because, yes, Next.js remains a great choice. They have caught some bad flak lately, most of which I think pretty undeserved.
They worked close with the React team to bring RSCs to the market, so for most people, Next.js was the first time they interacted with RSCs and the paradigm shift that brings about. Which, of course, means that many of the infancy problems were discovered via/misattributed to Next.js.
There also seems to be this misconception that it's difficult to self-host Next.js, because it's ultimately owned by Vercel. It's not difficult at all. What you "miss out on" by self-hosting is free framework-level integrations with the complex hosting features of Vercel. Which, yeah, I'm not sure how people expect their Docker-container to magically spawn an edge node in Singapore, but here we are.
2
u/Any_Sense_2263 May 19 '26
Tanstack start is not production-ready in my opinion. But it will be in some time.
2
u/opentabs-dev May 19 '26
tanstack start is genuinely good for client-heavy apps where next's server-first model fights you - real type-safe routing, file-based routes that are actually typed end to end, way nicer data loading story imo. the tradeoff is it's still pre-1.0, the deploy story is less paved (no vercel-grade integration), and the ecosystem of examples/tutorials is smaller.
for a beginner i'd still pick next, just because when you get stuck the answer is one google away. learn tanstack router on a side project first if you're curious - that's the actual interesting part, start is mostly the SSR shell around it.
1
u/Aksh247 May 19 '26
Infra hacks as framework APIs can only work so much. A vendor lockin in this mature ecosystem is highly undesirable. Hence people tend to move on
1
u/evilmatrix May 19 '26
For me, it's vercels CEO. I don't want to contribute a dollar to him.
1
u/pdantix06 May 20 '26
i got sick of the gaslighting from vercel about turbopack. it's still slow as shit compared to vite 7, let alone vite 8 with rolldown.
1
u/gimmeslack12 May 20 '26
I never even moved to Next.
I'm not sure who "people" are referring to in the post title but I also am not sure why it matters. NextJS isn't going anywhere and even it seemed like overkill to me and I'm still fine with Vite and React Router.
1
u/tschoffelen May 20 '26
Next.js has gotten so painfully slow for local development that any alternative is worth looking at imho
1
u/stoykotolev May 20 '26
In our experiences, other than some of the things that other ppl have already said, we had issues with the following:
- The biggest one was the lack of a real middleware and server. Which I guess u should take for granted, as its a serverless framework. But that was the biggest stopped for us. We heavily rely on the middleware to do some internal logic and it doesn't help that its all in a single file and not a real middleware.
- File routing is great, but we needed a bit more flexibility in terms of layout, etc. Having the ability to nest layouts based on routes is amazing and gives us even better flexibility.
- On the above point, having the ability to split my page data in different files, fetch data where i need it is a big win imo. This way, we have 1 file that handles the layout data and then nested files that handle the specific page data. In the pages router in Next, having to implement that same thing is painful and causes a lot of unnecessary fetches between pages.
- The heavy push to the app router and its ass implementation scared us away from Nextjs. server components arent that big of a win for us and the way they have implemented it in Next is strange. I like how they are starting to get them implemented in Tanstack.
1
u/marko_kestrel May 20 '26
Next is a PITA to upgrade and comes with alot of maintenance.
It has about 1 million CVEs
Its hard to host yourself
Vercel are $$$
Going with something opensource that has a ton of hosting options and doesnt ram SSR down your throat with an load of foot gun caching issues is easier in the long term
1
u/gryphusZero May 20 '26
Nextjs, for me, has horrible DX, someone mentioned already that when you do this or that next just says "ok, but i don't function properly because i am made for cookie-cutter code", I don't frankly care about obeying the rules but i don't want to jump multiple hoops for everything for a simple dashboard.
If you need specifically things that just nextjs does (i don't know about anything that just Next does and others don't beside "native" ISR on Vercel), then go on and use it.
If you are using it because "better SEO", please use SSG like 11ty or Astro, same benefit, more elegant solutions.
for dashboards, which are behind the password, you don't need SEO, just make it in vite-react or somthing simple that floats your boat
Also i hate the hype, managers know what nextjs is and they want it because everyone is using it and they are just dumb and have over-inflated ego to ask developers does it even make sense to use it. often it doesn't.
Also, the whole JS community tries to reinvent what PHP already does so the hydration and SSR and all that stuff that was solved years ago. I mostly do JS/TS, PHP not at all, just stating the obvious.
1
u/knoland May 20 '26
Very easy to self host, and basically took the best parts of next and the best parts of react router and combined them.
1
u/Suspicious-Name4273 May 22 '26
When would you use Tanstack Start vs. Astro?
1
u/Rare_Neighborhood643 May 23 '26
First of all, youtubers are not necessarily developers. They are mostly content creators.
Second, from my 5 years of experience in this field, I'd say it's best to avoid fullstack, ssr, streaming, whatever, entirely. The necessity of server-side rendering came from the need for faster loading and better SEO. But those days are kinda over as internet is faster and search engines are smarter now. Now, ssr feels like a headache. And with all these CVEs and vulnerabilities coming one by one, separate backend and frontend seems safer. Better, if you still want faster load and better SEO, you can use react-router in framework mode and the fetch any data you want client-side.
My suggestion, go back to SPA o prerendered pages with whatever frontend framework, and a separate backend.
1
u/[deleted] May 23 '26
Because Tanstack is superior in every measurable way
1
u/roggc9 Jun 12 '26
I don't know about Tanstack start. I know Next.js, Waku, and Dinou, which I've made (dinou.dev)
1
u/cosomo-dev Jun 16 '26
Based on my analysis and inference, I concluded that using TanStack Query with React Router 7 is the best approach. React Router 7 provides a stable, web-first foundation for routing and data loading, while TanStack Query excels at caching, synchronization, and server-state management. Together, they create a scalable and maintainable architecture.
1
u/Left-Inside9778 Jun 22 '26
Honestly, I think most web apps don’t need all the complexity that comes with Next.js. TanStack Start does everything I need, and I’m not locked into Vercel for deployment. I’ve been running a TanStack Start app on Cloudflare Workers and it’s been a great experience so far.
1
u/TacoMix1984 Jul 12 '26
The big question before any of this is: Why the obsession with server side rendering? Do you actually need it?
1
u/johnpharrell May 19 '26
Next js is a security nightmare. Almost every week there's a new exploit or vulnerability found.
https://www.youtube.com/watch?v=y5tlwWVYPek
The JS ecosystem, in general, is constantly under NPM supply chain attacks. All those dependencies make everything so brittle - your app is as good as its weakest link. Tanstack itself had a security issue recently too with a poisoned cache pushed on a Github release.
1
u/lost12487 May 19 '26
Lots of comments about vendor lock-in with Vercel, which I do not understand. You’ve always been able to deploy standalone, and if you want you can have full serverless with stuff like OpenNext/SST. They added an adapter API in 16, so you’ll likely see first class support for basically whatever you want in no time.
1
u/ddeeppiixx May 19 '26
Because I don't like Vercel CEO..
1
u/savaz_ May 19 '26
Because some folk always be following the latest trend. Don't mind them. Stick to the classics, until the next classic appears. And yes, you'll know when it happens.
1
u/TheRealJesus2 May 19 '26
Next js sucks. It’s super bloated with far too many dependencies and requires specific infrastructure to run a website.
Also has CVEs last year and now a week ago too https://nvd.nist.gov/vuln/detail/CVE-2026-45109
Better question is why do you need next js?
Tanstack start I also would not choose right away. Their router is great but you don’t need the whole framework to use it. Same with tanstack query. Because you can use just parts that help your project and have a path to upgrade to the heavier framework if needed I think it’s a much better choice.
Also will add even if you do want a heavier framework, tanstack doesn’t use RSC which is where a lot of the CVEs come from, though they are supposedly working on that so we’ll see if it becomes another CVE riddled framework.
1
u/Conscious-Process155 May 19 '26
They are not.
1
u/RedditNotFreeSpeech May 19 '26
Here is why I switched: https://tanstack.com/blog/directives-the-new-framework-lock-in
0
u/TechnologyAI May 19 '26
People always want to try new. It is good for side projects,but we still get jobs for using react next js
0
u/UMANTHEGOD May 19 '26
0
u/matriisi May 19 '26
Because they haven’t found out about astro yet.
0
u/Lamarkz May 20 '26
Because you are too much time in Reddit and Twitter land where majority of the takes are from people building pet projects or zero user projects.
-2
u/uxomnia May 19 '26
Il semblerait que pour gérer de grosses bases de données TanStack Start ne soit pas hyper développé ! Est-ce vrai ?
61
u/[deleted] May 19 '26
[removed] — view removed comment
1
u/[deleted] May 20 '26
[removed] — view removed comment