跳到内容

使用情况

您用 React 来做什么?

It won't come as any surprise that most respondents still use React to build web apps. But the chart also shows that design systems are now an integral part of the web development process.
What do you use React for?
Multiple
0%
20%
40%
60%
80%
100%
1
Web 应用
2,559
2
设计系统
+1
1,266
3
静态网站
-1
1,172
4
Hybrid sites
991
5
移动应用
926
6
桌面应用
563
7
其他答案
9
0%
20%
40%
60%
80%
100%
受访者百分比
While survey respondents tend to be more plugged in than the community at large, it's still notable to see that so many of them had already upgraded to React 19.
Which version of React do you use the most on a daily basis?
0%
20%
40%
60%
80%
100%
1
16.x
63
2
17.x
100
3
18.x
1,089
4
19.x
1,277
5
Canary
-1
11
6
不确定
-1
96
7
其他答案
7
0%
20%
40%
60%
80%
100%
受访者百分比
While modern frameworks like Next.js offer granular rendering as one of their key selling points, it's important to note that most respondents still rely on the big three rendering patterns (SPA, SSR, and SSG).
过去一年里您使用过以下哪些架构和渲染模式?
Multiple
0%
20%
40%
60%
80%
100%
01
单页面应用 (SPA)
2,167
02
服务端渲染 (SSR)
1,554
03
静态站点生成 (SSG)
1,127
04
增量静态生成
+1
643
05
局部注水
+1
638
06
多页面应用 (MPA)
-2
600
07
流式服务端渲染
449
08
岛屿架构
353
09
渐进增强
329
10
边缘渲染
297
0%
20%
40%
60%
80%
100%
受访者百分比

Most of us are excited for the React Compiler, which promises to improve performance without requiring any major effort on our part.

Conversely, although Server Components can also help make web apps more performant, the fact that their roll-out has at times involved quite a few headaches for developers–combined with the feature already being a few years old at this point–explains the relative lack of excitement around them.

Which of these recent and upcoming new features are you most excited about?
Multiple
0%
20%
40%
60%
80%
100%
+2
625
04
-1
622
07
445
-2
437
09
+4
369
10
-1
234
0%
20%
40%
60%
80%
100%
受访者百分比

When it comes to performance, React has always adopted a bit of a “chef's choice” approach: just trust the framework to know best, and don't worry about managing every re-render.

Yet developers can quickly run into frustrating situations when they do need more granular control. So we can only hope the new React Compiler will help alleviate some of those pain points.

还有其他 React 痛点需要提及吗?
(自由提问)
Multiple
0%
20%
40%
60%
80%
100%
01
React issues
02
Performance
03
Excessive Re-rendering
+12
04
Excessive complexity
-3
05
状态管理 (useState, Redux, Context, 等等。)
-2
06
nextjs_issues
-2
07
Build tools issues
08
+6
09
Server components
10
Hooks issues
11
Ecosystem issues
+1
12
Rendering issues
13
其他答案
0%
20%
40%
60%
80%
100%
受访者百分比

Meta Involvement

Few tech companies have generated more drama throughout their history than Meta. Yet that hasn't translated in a negative view of the company's stewardship of React, with most respondents viewing the company in a neutral or positive way.
How would you describe your feelings towards Meta's involvement with React?
0%
20%
40%
60%
80%
100%
1
Very negative
112
2
Negative
264
3
Neutral
1,469
4
Positive
551
5
Very positive
153
0%
20%
40%
60%
80%
100%
受访者百分比

Vercel Involvement

This isn't quite true when it comes to Vercel, the other big player in the React ecosystem.

While the majority is still neutral, negative opinions do outweigh positive ones, with respondents citing lock-in fears, a push for unwanted features, and the founder's controversial political stances as motivations for their negative outlook.

How would you describe your feelings towards Vercel's involvement with React?
0%
20%
40%
60%
80%
100%
1
Very negative
335
2
Negative
575
3
Neutral
996
4
Positive
490
5
Very positive
151
0%
20%
40%
60%
80%
100%
受访者百分比

React Foundation Involvement

In contrast to either Meta or Vercel, sentiment about the recently-announced React Foundation is overwhelmingly positive, indicating that the community welcomes this move towards more open and neutral governance.
How would you describe your feelings towards the React Foundation's involvement with React?
0%
20%
40%
60%
80%
100%
1
Very negative
18
2
Negative
30
3
Neutral
1,198
4
Positive
802
5
Very positive
447
0%
20%
40%
60%
80%
100%
受访者百分比
1
2
3
4
5
2024
2025
1
2
3
4
5
平均 {axis}
React and TypeScript, v3
Steve Kinney
Temporal

React and TypeScript, v3

Write higher-quality code with React and TypeScript. Add critical type safety to hooks and component design systems. Learn patterns for complex state management with reducers and discriminated unions.
Intermediate Next.js
Scott Moss
Netflix

Intermediate Next.js

Level up your Next.js skills to build production-ready applications. Dive into advanced concepts like server actions, route slots, and data fetching strategies.
感谢合作伙伴对我们的支持! 了解更多。