Saksham Gupta  pfp
Saksham Gupta
@0xsakshamx
You guys wanted it, so here we go! Nextjs v/s TanStack🧵 1/n
0 reply
0 recast
0 reaction

Saksham Gupta  pfp
Saksham Gupta
@0xsakshamx
What Next.js Does Well ? 1. Easy setup: Out-of-the-box (OOTB) integrations for tools like MUI, Markdoc, and Datadog. 2. High-scale optimization: Advanced APIs like SSR, ISR, edge functions, and caching make it ideal for large-scale apps. 3. Great for e-commerce or apps needing micro-optimizations. 2/n
0 reply
0 recast
0 reaction

Saksham Gupta  pfp
Saksham Gupta
@0xsakshamx
The Downsides of Next.js 1. Overkill for smaller apps: Many APIs (e.g., ISR) are unnecessary for startups or mid-sized teams. 2. Financial incentives: Many features tie you to @vercel's services, making switching costly. 3. Complexity: The app router introduces difficult concepts unrelated to ReactJS. 3/n
0 reply
0 recast
0 reaction

Saksham Gupta  pfp
Saksham Gupta
@0xsakshamx
Debugging Issues Next.js’s heavy abstraction makes debugging a nightmare. With 3 separate caches (Full Route Cache, Data Cache, Router Cache), tracing issues is far from straightforward. Simpler setups like Vite don’t have this problem. 4/n
0 reply
0 recast
0 reaction