State of JavaScript 2025: TypeScript Dominates, Vite Overtakes Webpack

State of JavaScript 2025: TypeScript Dominates, Vite Overtakes Webpack

lschvn5 min read

The State of JavaScript 2025 survey, published in February 2026 after collecting responses through November 2025, paints a picture of a maturing ecosystem. TypeScript has firmly won the language war, Vite has won the build tool war β€” at least in sentiment β€” and developers are increasingly vocal about framework complexity.

TypeScript: The Unambiguous Winner

TypeScript usage continues to climb. 40% of respondents now write exclusively in TypeScript, up from 34% in 2024 and 28% in 2022. Only 6% use plain JavaScript exclusively. When asked what they'd change about JavaScript, "lack of static typing" remains the number one pain point.

The numbers are damning in the best way. Daniel Roe, Nuxt core team leader, put it bluntly in the survey's conclusion:

TypeScript has won. Not as a bundler, but as a language.

With type stripping now available in stable Node.js, the last technical barriers are crumbling. The question is no longer whether to use TypeScript β€” it's how fast you can migrate.

Build Tools: Vite Devastates Webpack

The build tool narrative is equally decisive. Vite sits at 84% usage with a 98% satisfaction score. Webpack maintains slightly higher overall usage at 87%, but its satisfaction rating has collapsed to 26%, down from 36% in 2024.

One respondent described the current state: "trying to understand legacy code that uses Webpack can be painful." That sentiment resonates.

Turbopack, Vercel's Rust-based successor to Webpack, sits at just 28% usage. Despite significant marketing push, it hasn't gained the traction many expected. The Rust-based future of the build pipeline might instead be Rolldown β€” the Rollup-compatible toolchain that jumped from 1% to 10% usage in a single year.

Frontend Frameworks: React Dominates, but Next.js Draws Fire

React remains the most-used framework at 83.6%, but the survey exposed growing dissatisfaction. Next.js, used by 59% of respondents, posted a 21% positive sentiment against a concerning 17% negative sentiment β€” generating more comment activity than any other project.

The complaints cluster around complexity:

"I've written Next.js in production for going on 6 years... the Next complexity has gotten absurd"

Others expressed concern about Vercel's business incentives shaping the framework's direction. One respondent put it: "I'm worried because Vercel is trying to use it to make money."

Solid.js maintained the highest satisfaction rating among major frameworks, though its usage remains well below React, Vue, and Svelte.

What This Means for TypeScript Projects

The survey confirms what many TypeScript developers already experience: the ecosystem has coalesced around a set of stable preferences. TypeScript, Vite, and either Next.js or a meta-framework alternative are the default choices for new projects.

The friction is shifting. It's no longer about whether to use TypeScript β€” it's about managing framework complexity as the ecosystem matures past its rapid-innovation phase.

The full survey results are available at 2025.stateofjs.com.

Frequently Asked Questions

Related articles

More coverage with overlapping topics and tags.

State of JavaScript 2025: TypeScript Hits 40% Exclusive Usage as Ecosystem Settles
typescript

State of JavaScript 2025: TypeScript Hits 40% Exclusive Usage as Ecosystem Settles

The State of JavaScript 2025 survey shows TypeScript exclusive usage at 40%, Vite satisfaction at 98% versus Webpack's 26%, and Claude doubling its developer share. The ecosystem is maturing rather than churning.
Vite+ Alpha Launches: VoidZero's Unified Toolchain Wants to Replace Your Entire JS Dev Stack
vite

Vite+ Alpha Launches: VoidZero's Unified Toolchain Wants to Replace Your Entire JS Dev Stack

Vite+ Alpha drops today under MIT license, unifying Vite, Vitest, Oxlint, Oxfmt, and Rolldown into a single vp binary. Node.js runtime and package manager management included.
Bun v1.3.12 Ships Headless Browser Automation and Native Explicit Resource Management
javascript

Bun v1.3.12 Ships Headless Browser Automation and Native Explicit Resource Management

Bun's latest release adds WebView for headless browser automation, lands TC39's using/await using in JavaScriptCore, and delivers a 2.3x speedup to URLPattern.

Comments

Log in Log in to join the conversation.

No comments yet. Be the first to share your thoughts.