惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

L
LINUX DO - 最新话题
小众软件
小众软件
C
Check Point Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
V
Visual Studio Blog
Last Week in AI
Last Week in AI
P
Proofpoint News Feed
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
The GitHub Blog
The GitHub Blog
T
Tailwind CSS Blog
Recorded Future
Recorded Future
雷峰网
雷峰网
WordPress大学
WordPress大学
A
Arctic Wolf
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Project Zero
Project Zero
T
Tor Project blog
T
Threat Research - Cisco Blogs
Scott Helme
Scott Helme
Spread Privacy
Spread Privacy
G
Google Developers Blog
Security Latest
Security Latest
MongoDB | Blog
MongoDB | Blog
T
Threatpost
I
InfoQ
T
Tenable Blog
T
The Exploit Database - CXSecurity.com
S
Security Affairs
H
Hackread – Cybersecurity News, Data Breaches, AI and More
人人都是产品经理
人人都是产品经理
C
Cisco Blogs
博客园 - 三生石上(FineUI控件)
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
aimingoo的专栏
aimingoo的专栏
C
CXSECURITY Database RSS Feed - CXSecurity.com
美团技术团队
Google DeepMind News
Google DeepMind News
The Hacker News
The Hacker News
D
Docker
博客园 - 【当耐特】
大猫的无限游戏
大猫的无限游戏
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Vercel News
Vercel News
PCI Perspectives
PCI Perspectives
Microsoft Azure Blog
Microsoft Azure Blog
C
CERT Recently Published Vulnerability Notes
月光博客
月光博客
Cloudbric
Cloudbric
A
About on SuperTechFans
F
Fortinet All Blogs

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
Next.js isn't the best framework. It's the most reliable bet.
Federico Corradi · 2026-06-26 · via DEV Community

Next.js is the most used React meta-framework in the world and one of the most resented. The numbers say both things at once. The State of JavaScript 2025 survey puts its usage leadership beyond argument while noting, in the same breath, that satisfaction has slipped, and it names the culprits: the rising complexity of Server Components and the App Router. Spend any time near the discourse and you'll hear all of it. The framework is bloated. The App Router broke my mental model. RSC shipped half-baked. The whole thing is a funnel into Vercel's hosting. Some of that is fair, and I'll get to the parts that are. A lot of it is people who picked the wrong tool, or used the right one against its grain, and then blamed the tool.

I've built on Next.js for years, including platforms where the wrong decision would have cost real money and real users. So this is my two cents, offered as one practitioner's view rather than a verdict. I don't think Next.js is the best framework available. I think it's the most reliable bet, and those are not the same claim. Understanding the difference is the whole point.

Everyone has an opinion about Next.js, and most of them are about the wrong thing. Here's mine, for what it's worth: the framework is rarely the problem. How you choose it, and what you do to it afterwards, almost always is.

There is no framework that wins on every axis

Let's clear the strawman out of the way first, because it poisons every one of these arguments. There is no universal frontend framework, and anyone selling you one is selling you something. Programming doesn't work like that. One solution does not fit every problem, and the moment you believe it does, you've stopped engineering and started cheerleading.

So when someone says a competitor is "better" than Next.js, the honest question is: better at what? Astro is genuinely brilliant at static generation. For a content site that's mostly read and rarely changes, it's hard to beat. SvelteKit produces leaner output and a development experience a lot of people prefer; it scores consistently higher on developer satisfaction than Next.js does. These are real strengths, and on their chosen axis they often win outright.

The problem is that real projects are never one axis. They're a content site that also needs authenticated dashboards. A marketing platform that also needs preview workflows for editors. A static catalogue that also has to scale to millions of users without falling over. The framework that wins isn't the one that's strongest at any single thing. It's the one that doesn't collapse into a pile of workarounds the moment your requirements get plural.

Reliable isn't a compliment about elegance

This is where Next.js earns its position, and it has little to do with technical purity.

Take the moment your static site needs to stop being purely static. Next.js has Incremental Static Regeneration baked in, update one page after deployment without rebuilding the whole site, and it pioneered the pattern. Astro, for all its static brilliance, has no built-in ISR. By default, when content changes, the entire site rebuilds. You can approximate ISR-like behaviour, but only by reaching for CDN cache headers, a Redis or Cloudflare KV layer, or your hosting platform's own implementation. It's a request that has sat open on Astro's public roadmap for years, with developers in the thread calling the lack of it a dealbreaker for large content sites. None of that makes Astro bad. It makes it a different tool, strongest exactly where Next.js's complexity would be overkill.

The same shape repeats with editorial preview. Next.js ships Draft Mode as a first-class, deeply documented feature: flip into dynamic rendering, fetch unpublished content, see the draft without rebuilding. It's so much the reference implementation that the integration guides for Directus, DatoCMS, and Optimizely all lead with a section titled "Next.js Draft Mode." SvelteKit supports it too, so this isn't exclusive territory, but Next.js is the path of least resistance and the one every CMS documents first.

Beyond content delivery, what Next.js is really offering is a complete server-side platform sitting inside your frontend codebase. The edge runtime lets you run middleware and route handlers geographically close to the user, handling auth, redirects, and A/B flags before a page ever renders. Streaming with Suspense lets you send the static shell of a page immediately and stream in slow data as it resolves, so a single slow database query no longer blocks the entire render. Server Actions let you call server-side logic directly from a component without writing a separate API layer. And the built-in image and font optimisation pipeline handles format conversion, lazy loading, and layout-shift prevention without any configuration. Each of these is a capability you'd otherwise assemble yourself from separate tools, with all the integration surface area that implies. Together they mean the decision to use Next.js is not just a choice of rendering framework; it's a choice of how much application infrastructure you want the framework to own.

Then there's the thing nobody wants to admit matters: the model that's been trained on it. Next.js existed and was widely adopted well before large language models became a development tool. It sits on top of React, which dwarfs every other component ecosystem. Stack Overflow's 2025 survey of more than 49,000 developers puts React at 46.9% of professionals and Next.js at 21.5%, against Vue's 18.4% and Svelte's 6.9%. So when an AI assistant generates Next.js code, it generates good Next.js code, because the training corpus is enormous and the patterns are well established. Pick Nuxt and you inherit Vue's smaller footprint. Pick SvelteKit and you inherit Svelte's. The framework didn't get cleverer. The gravity underneath it is just heavier, and with roughly a third of all new code now AI-generated, that gravity is a delivery advantage you feel every single day.

The tooling has gone further than corpus size too. Next.js 16 ships with an MCP endpoint enabled by default, and Vercel's DevTools MCP server lets a coding agent query a running application directly for its errors, routes, and compiler diagnostics. Whatever you think of Vercel's commercial motives, and the funnel-into-hosting suspicion isn't baseless, the loop between "something's broken" and "the agent can see what's broken" is tighter here than anywhere else. That's not elegance. It's reliability, and reliability is what you actually ship on.

The discontent is real. Here's what it's actually about.

None of the above means the grievances are imaginary. Three of them are legitimate, and you should know what you're signing up for.

The first is that the opinionation cuts both ways. The same strong opinions that carry you when you align with them constrain you when your needs don't map cleanly onto Next's model. If you want half the features and don't need the other half, there's no clean way to take what you want and leave the rest. That's not a bug in the framework's thinking; it's the nature of opinionated tools. But it means Next.js is an all-in decision, and teams that try to use it selectively often end up fighting it on the dimensions they opted out of.

The second is portability, and this one implicates Vercel-the-business more than Next-the-framework. For most of Next.js's life, deploying away from Vercel meant navigating undocumented behaviour. Netlify documented this publicly: Next.js contains undocumented options and code paths, and Vercel's own deployments use an internal flag called minimalMode that disables core framework features Vercel then reimplements inside its closed-source platform. A former Netlify engineer, commenting on Vercel's own RFC thread, said the routing and redirect rules were lightly and sometimes inaccurately documented, and that they had to reverse-engineer the order and logic before eventually resorting to standalone mode with what they called "lots of hacks." On video, Netlify's Next.js runtime engineer was more direct: Vercel doesn't provide an adapter API, so we read the open-source code and made transformations to reach feature parity. That's the vendor lock-in story, and it's not a vibe. It's documented engineering work the ecosystem had to do without Vercel's cooperation. The stable Adapter API that landed in Next.js 16.2 in March 2026 addresses this directly, developed by a working group that included Netlify, Cloudflare, AWS Amplify, Google, and the OpenNext maintainers. But the API arriving in 2026 is also an admission of where the priorities sat for the previous several years.

The third is the App Router transition, which was handled badly regardless of where the feature itself has since landed. The server and client component model represents a genuine shift in how you think about React, and it wasn't explained well at launch. The caching defaults confused teams for years: pages were cached aggressively by default, causing stale-data problems that weren't obvious until production. Version 16's fix, flipping to dynamic-by-default with explicit opt-in caching via the 'use cache' directive, is welcome, but it's also an acknowledgement that the original model caused real pain. The migration path created its own friction: Next.js always supported running both routers side by side, per route, but teams doing that in practice reported a disjointed experience, with inconsistent routing logic, layout handling, and data-fetching patterns living in the same codebase, making onboarding harder rather than easier. And once the compiler bundles everything, attributing a Web Vitals regression to a specific piece of code became genuinely harder. Teams still need strong observability tooling around caching and edge rendering behaviour to catch the things that won't surface on their own.

These are real costs. Accept them knowingly, or pick something else.

So should everyone use it? Absolutely not.

Here's the turn, and it's the part that actually matters.

None of the above means Next.js is the right choice for your project. It means it's the reliable choice, and reliability is only an advantage if you use the framework the way it wants to be used. Because Next.js is, above all, opinionated. Lean into those opinions and it carries you. Fight them and you lose, slowly, in ways that compound.

I know this precisely because I've watched it happen on a real project, and the lesson isn't that anyone made a mistake.

The setup: a Next.js platform built on a pod-per-locale Kubernetes architecture. Each locale gets its own pod. The ingress routes on path prefix (/fr/, /en/), and by the time a request reaches the Next.js pod, the locale prefix has been stripped; the app receives its locale only as an environment variable at boot. The model is paired with artifact promotion: one binary, promoted across environments, configured at runtime rather than at build. This is sound infrastructure thinking. Each locale scales independently on its own request load. The artifact promotion model is clean and operationally correct.

It is also, quietly, a decision to opt out of Next.js's routing contract.

Next's native i18n assumes the locale is part of the request the app sees. Here it isn't. So useRouter().locale returns undefined. Using next/link with the locale prefix in the href isn't recognised by the framework, which triggers a full page reload instead of client-side navigation, and broken Web Vitals immediately. Without the prefix, client navigation works but the URL drops the locale, so a hard refresh fails because the ingress has nothing to route on. Automatic hreflang tags, locale-aware sitemaps, locale-aware prefetching: all gone, because all of it assumes the framework owns the locale.

The fix is workable. A rewrite in next.config.js that teaches Next the prefix pattern, a custom next/link wrapper that prepends the locale from the environment variable, a lint rule banning direct next/link imports to enforce the convention. You ship. But hreflang, sitemaps, language switchers, locale-aware analytics, error pages, type safety on locale values: all of that becomes manual work. Each piece is small. The whole compounds into a permanent maintenance overhead and an onboarding tax on every developer who joins the project.

There was a framework-native path: one deployment serving all locales through middleware-based i18n, which would have preserved the artifact-promotion benefit without the workarounds. But the pod-per-locale model was chosen for request-level scaling, a sound reason and an independent engineering decision made before the framework conflict was visible. Nobody was wrong. Two coherent systems simply didn't compose cleanly, and the bill arrived later, in small instalments, across every feature that assumed Next.js owned the locale.

That's what fighting an opinionated framework actually looks like. Not a dramatic failure. A permanent, quiet tax.

Choose the bet, then honour it

That's what most of the Next.js discontent actually is, once you strip away the noise. It's rarely the framework failing on its own terms. It's teams choosing an opinionated tool and then spending months, sometimes years, working around the opinions they didn't want. Even the declining satisfaction numbers fit this reading: the complexity people resent is often the cost of capability they never needed, bolted onto projects that didn't call for it.

The grievances are real. The portability story was genuinely bad for a long time. The App Router transition was handled worse than it needed to be. The opinionation isn't always comfortable. Know all of that going in.

But if you're building something plural, something that has to hold up across a dozen requirements, in a team that will turn over, over several years, Next.js is still the bet that fails least often. Not because it's the most beautiful answer, but because the ecosystem, the tooling, the training data, and the sheer weight of prior art are all on your side.

Honour the contract and it carries you. Break it, even for the best of reasons, even when the infra team is completely right, and you'll spend the project paying for it in places you didn't expect.

The framework is almost never the problem. The fit is. Choose for the fit, and most of the war stories disappear before they start.