← 回總覽

JavaScript 2025 状态调查:生态趋于成熟,TypeScript 巩固主导地位

📅 2026-03-31 13:31 InfoQ 中文 软件编程 12 分鐘 14220 字 評分: 88
JavaScript TypeScript Vite React Next.js
📌 一句话摘要 2025 年 JavaScript 现状调查显示生态系统趋于稳定,TypeScript 确立统治地位,Vite 凭借极高满意度超越 Webpack,而 AI 开发工具呈现向 Claude 和 Cursor 转移的趋势。 📝 详细摘要 本文总结了 2025 年 JavaScript 现状调查报告的核心发现。报告指出,JavaScript 生态已从历经多年的快速迭代转向成熟稳定。TypeScript 的完全使用率升至 40%,已成为事实上的行业标准。在构建工具方面,Vite 以 98% 的开发者满意度实质性取代了 Webpack 的地位,而基于 Rust 的工具如 Rolldo
Skip to main content ![Image 3: LogoBestBlogs](https://www.bestblogs.dev/ "BestBlogs.dev")Toggle navigation menu Toggle navigation menuArticlesPodcastsVideosTweetsSourcesNewsletters

⌘K

Change language Switch ThemeSign In

Narrow Mode

JavaScript 2025 状态调查:生态趋于成熟,TypeScript 巩固主导地位

I InfoQ 中文 @InfoQ 中文

One Sentence Summary

The 2025 State of JavaScript survey reveals a stabilizing ecosystem, with TypeScript establishing dominance, Vite surpassing Webpack with exceptionally high satisfaction, and a shift in AI development tools toward Claude and Cursor.

Summary

This article summarizes the key findings from the 2025 State of JavaScript survey. The report indicates that the JavaScript ecosystem has shifted from years of rapid iteration to a state of maturity and stability. TypeScript's full adoption rate has risen to 40%, making it the de facto industry standard. In terms of build tools, Vite has effectively replaced Webpack with a 98% developer satisfaction rate, while Rust-based tools like Rolldown are beginning to emerge. In the frontend framework space, while React maintains high usage, its meta-framework, Next.js, has raised concerns among developers due to its high complexity. Furthermore, the AI development tool market has seen significant changes, with Claude and Cursor experiencing substantial growth, reflecting a developer preference for more specialized AI coding assistants.

Main Points

* 1. TypeScript has won the language war and become the preferred choice for development.40% of developers use TypeScript exclusively, and native support for type stripping in Node.js further solidifies its dominance as a language. * 2. A generational shift in build tools has occurred, with Vite establishing dominance.Vite has become mainstream with a 98% satisfaction rate, while Webpack's satisfaction has dropped to 26%. Meanwhile, Rust-based tools are becoming the underlying support for future build pipelines. * 3. Hidden concerns under React's dominance and the complexity crisis of Next.js.Although React has the highest usage, the high complexity of its core meta-framework, Next.js, along with Vercel's commercialization strategy, has left some developers feeling uneasy and skeptical. * 4. The landscape of AI coding tools is being reshaped, with the rise of Claude and Cursor.Claude's usage has doubled and Cursor has seen significant growth, while ChatGPT's share in development scenarios has declined, indicating a developer migration toward more vertical AI tools.

Metadata

AI Score

88

Website mp.weixin.qq.com

Published At Today

Length 1508 words (about 7 min)

Sign in to use highlight and note-taking features for a better reading experience. Sign in now

InfoQ 2026-03-31 13:31 北京

!Image 4

2025年JavaScript现状调查报告揭示了一个日趋成熟的生态系统,TypeScript的主导地位得到了巩固,40%的开发者完全使用它。Vite在构建工具领域的使用率激增,满意度达到了98%,而React在框架领域仍占据首位,但反馈褒贬不一。

!Image 5

作者 | Daniel Curtis

译者 | 张卫滨

2025 年 JavaScript 现状调查报告(调查于 2025 年 11 月开启并于 2026 年 2 月发布结果)收集了来自 JavaScript 生态系统开发者的反馈。这项由 Devographics 运营、谷歌 Chrome、JetBrains 等企业赞助的年度调查显示,历经多年快速迭代,JavaScript 生态已趋于稳定,工具、框架和语言偏好领域均出现了明确的领先者。

本年度结果中最显著的趋势是 TypeScript 持续占据主导地位。40% 的受访者如今完全使用 TypeScript 开发(2024 年为 34%、2022 年为 28%),而仅使用纯 JavaScript 的受访者仅占 6%。Nuxt 核心团队负责人 Daniel Roe 在调查结论中 总结 了这一转变:

> TypeScript 已经赢了。不是作为打包器,而是作为一门语言。Deno 和 Bun 都早已支持它,如今借助类型剥离(type stripping)技术,你甚至可以在稳定版 Node.js 中编写原生的 TypeScript 代码。

尽管如此,“缺乏静态类型” 仍然是受访者反馈的头号语言痛点。这表明尚未采用 TypeScript 的开发者仍对类型系统的缺失感到困扰。当被问及希望如何在 JavaScript 中 原生实现类型 时,类似 TypeScript 的类型注解以 5380 票位居第一,远超运行时类型(3524 票)。

在 构建工具 领域,Vite 已经在实质上超越 Webpack。尽管 Webpack 的整体使用率(87%)略高于 Vite(84%),但二者的满意度差距悬殊,Vite 的满意度达 98%,而 Webpack 仅为 26%(较 2024 年的 36% 进一步下降)。有受访者在调查中表示,试图理解使用 Webpack 的遗留代码非常痛苦。

由 Verce 赞助、基于 Rust 开发的 Webpack 替代方案 Turbopack 使用率仅为 28%,这表明 Vite 凭借先发优势和开发者体验优势形成的壁垒难以被打破。新兴的 Rust 系工具(比如,旨在作为 Vite 中 Rollup 即插即用替代品的 Rolldown)在 2025 年的使用率从 1% 跃升至 10%,这预示着 Rust 可能成为未来 JavaScript 构建流水线的底层支撑。

前端框架的格局 异常稳定。React 仍是使用率最高的框架(83.6%),但调查揭示了明显的不满情绪。59% 的受访者使用了 Next.js,其正面情绪占比 21%、负面情绪占比 17%,是所有项目中引发评论最多的。

> 我在生产环境中编写 Next.js 已经快 6 年了……Next 的复杂度已经高得离谱。

也有开发者拥有正面体验,但对它的未来和 Vercel 的战略表示了担忧:

> 虽然我用 Next 的体验不错,但我很担心,因为 Vercel 正试图靠它赚钱。 > > > 目前体验还不错,但我对它的未来深表怀疑。

Solid.js 连续第五年保持了最高的满意度。在元框架领域,主打“内容优先”的 Astro 持续扩张。

AI 辅助开发领域迎来显著增长,Claude 的使用率从 22% 翻倍至 44%,Cursor 从 11% 上升到了 26%,而 ChatGPT 的使用率从 68% 下降至 60%。

后端领域,Node.js 仍然占据主导(90%)地位,Bun 以 21% 的使用率位居第三(增长 4%),远超 Deno(11%)。

Temporal API 仍是最受期待的提案,它旨在解决长期存在的日期处理的痛点,不过随着从提案阶段转向 浏览器实现,开发者的热情有所降温(较上一年下降了 22%)。

与 2024 年的版本 相比,本年度结果显示 JavaScript 生态正趋于“稳定”而非“动荡”,受访者的幸福感连续第五年稳定在 5 分制的 3.8 分。

此前的调查结果和方法论细节可在 Devographics 的 GitHub 仓库 查阅,2025 年完整报告 可在线免费获取。

查看英文原文:

State of JavaScript 2025: Survey Reveals a Maturing Ecosystem with TypeScript Cementing Dominance(https://www.infoq.com/news/2026/03/state-of-js-survey-2025/))

今日好文推荐 Claude 顶不住了:先限额,再封号,最贵那批用户开始被清退 谷歌迎来“DeepSeek时刻”!TurboQuant引爆AI圈、全球开发者疯狂复现:6倍无损压缩,内存股集体暴跌 1.9万行 Claude Code“AI垃圾”杀入 Node.js:全球顶流开源项目,快守不住了 遭谷歌封禁,OpenClaw 创始人首次在 OpenAI 受访吐槽:Gemini 自信“100%能跑”,结果一试就崩

!Image 6: 图片 跳转微信打开

I InfoQ 中文 @InfoQ 中文

One Sentence Summary

The 2025 State of JavaScript survey reveals a stabilizing ecosystem, with TypeScript establishing dominance, Vite surpassing Webpack with exceptionally high satisfaction, and a shift in AI development tools toward Claude and Cursor.

Summary

This article summarizes the key findings from the 2025 State of JavaScript survey. The report indicates that the JavaScript ecosystem has shifted from years of rapid iteration to a state of maturity and stability. TypeScript's full adoption rate has risen to 40%, making it the de facto industry standard. In terms of build tools, Vite has effectively replaced Webpack with a 98% developer satisfaction rate, while Rust-based tools like Rolldown are beginning to emerge. In the frontend framework space, while React maintains high usage, its meta-framework, Next.js, has raised concerns among developers due to its high complexity. Furthermore, the AI development tool market has seen significant changes, with Claude and Cursor experiencing substantial growth, reflecting a developer preference for more specialized AI coding assistants.

Main Points

* 1. TypeScript has won the language war and become the preferred choice for development.

40% of developers use TypeScript exclusively, and native support for type stripping in Node.js further solidifies its dominance as a language.

* 2. A generational shift in build tools has occurred, with Vite establishing dominance.

Vite has become mainstream with a 98% satisfaction rate, while Webpack's satisfaction has dropped to 26%. Meanwhile, Rust-based tools are becoming the underlying support for future build pipelines.

* 3. Hidden concerns under React's dominance and the complexity crisis of Next.js.

Although React has the highest usage, the high complexity of its core meta-framework, Next.js, along with Vercel's commercialization strategy, has left some developers feeling uneasy and skeptical.

* 4. The landscape of AI coding tools is being reshaped, with the rise of Claude and Cursor.

Claude's usage has doubled and Cursor has seen significant growth, while ChatGPT's share in development scenarios has declined, indicating a developer migration toward more vertical AI tools.

Key Quotes

* TypeScript has won. Not as a bundler, but as a language. * Vite has a 98% satisfaction rate, while Webpack is at only 26% (down further from 36% in 2024). * Next.js complexity has become ridiculously high. * The JavaScript ecosystem is trending toward 'stability' rather than 'volatility,' with respondent happiness remaining stable at 3.8 out of 5 for the fifth consecutive year.

AI Score

88

Website mp.weixin.qq.com

Published At Today

Length 1508 words (about 7 min)

Tags

JavaScript

TypeScript

Vite

React

Next.js

Related Articles

* Tech Weekly (Issue 387): You Are Ahead * Tech Enthusiast Weekly (Issue 388): Testing is the New Moat * “AI on the Front Lines: How Developers are Reshaping the Software Development Process” | Roundtable Discussion * From Context to Long-Term Memory: Architectural Design and Practice of LLM Memory Engineering\" architecture.") * [[Issue 3668] From Web Streams to Async Iterable: Rethinking JavaScript Streaming APIs](https://www.bestblogs.dev/en/article/e827f280 "This article provides an in-depth analysis of the design flaws and performance bottlenecks of the Web Streams API, proposing a new high-performance, low-overhead streaming model based on Async Iterable.") * 1,500 PRs, 0 Human Coders: Building a Million-Line Internal Product Driven by Codex * Episode 3641: How Strong Is AI at Writing React Code? Addy Osmani's Practical Guide * OpenAI Frontline Development Observations: Those Who Can Manage 10-20 Agents Simultaneously and Run Hour-Long Tasks Are Leaving Other Engineers Far Behind * [[Issue 3636] Deep Dive: Practical Experience in Building High-Performance Web Applications with React + Next.js](https://www.bestblogs.dev/en/article/210b0fb9 "This article provides a deep analysis of how to build high-performance web applications using React and Next.js between 2022 and 2025 through multiple real-world cases, covering performance optimization, rendering strategies, caching, state management, DX, and UX.") * Practices and Reflections on Vibe Coding in Code Generation and Collaboration HomeArticlesPodcastsVideosTweets

State of JavaScript 2025: Ecosystem Maturing, TypeScript ...

查看原文 → 發佈: 2026-03-31 13:31:00 收錄: 2026-03-31 18:00:18

🤖 問 AI

針對這篇文章提問,AI 會根據文章內容回答。按 Ctrl+Enter 送出。