跳到内容

使用情况

无论您使用的是什么版本,采用的是什么应用模式,属于哪个行业,使用 React 的方法都不会错!

您用 React 来做什么?

有趣的是,尽管 React 传统上与复杂的客户端应用相关联,静态网站 仍位居第二,这表明 JSX 作为一种简单的模板语言也能发挥巨大作用。

What do you use React for?
Multiple
0%
20%
40%
60%
80%
100%
1

Web 应用

5,954
2

静态网站

2,981
3

设计系统

2,917
4

Hybrid sites

2,632
5

移动应用

2,162
6

桌面应用

1,304
7

其他答案

30
0%
20%
40%
60%
80%
100%
受访者百分比

请注意,该调查是在 React 19 稳定版发布 之前 进行的。

Which version of React do you use the most on a daily basis?
0%
20%
40%
60%
80%
100%
1

16.x

273
2

17.x

582
3

18.x

4,763
4

Canary

187
5

不确定

298
6

19.x

7

其他答案

20
0%
20%
40%
60%
80%
100%
受访者百分比

以何种方式使用

大多数回应者都在专业环境中使用 React。

0%
20%
40%
60%
80%
100%
1

专业

5,655
2

作为学生

191
3

作为爱好

284
4

其他答案

14
0%
20%
40%
60%
80%
100%
受访者百分比

编程和技术工具 作为一个行业部门,其代表性可能会略微偏高,因为它通常会吸引最有可能填写此类调查的那类开发人员。

你在哪个行业工作?
Multiple
0%
20%
40%
60%
80%
100%
1

编程和技术工具

1,775
2

咨询服务

1,186
3

电子商务与零售

1,109
4

金融

894
5

教育

549
6

营销/销售/分析工具

511
7

娱乐

475
8

卫生保健

461
9

新闻、媒体和博客

286
10

政府

270
0%
20%
40%
60%
80%
100%
受访者百分比

尽管最近大家都在关注静态网站生成、服务器端渲染和服务器组件,但值得注意的是,绝大多数 React 开发人员仍在开发单页面应用程序。

过去一年里您使用过以下哪些架构和渲染模式?
Multiple
0%
20%
40%
60%
80%
100%
1

单页面应用 (SPA)

5,053
2

服务端渲染 (SSR)

3,698
3

静态站点生成 (SSG)

2,824
4

多页面应用 (MPA)

1,570
5

增量静态生成

1,568
6

局部注水

1,529
7

流式服务端渲染

964
8

岛屿架构

920
9

渐进增强

910
10

边缘渲染

872
0%
20%
40%
60%
80%
100%
受访者百分比

由于 memo 是一个长期存在的痛点,因此受访者对React 编译器最感兴趣也就在情理之中了。

Which of these recent and upcoming new features are you most excited about?
Multiple
0%
20%
40%
60%
80%
100%
1

3,292
2

1,687
3

1,642
4

1,526
5

1,422
6

1,268
7

1,061
8

1,041
9

883
10

328
0%
20%
40%
60%
80%
100%
受访者百分比

Other Pain Points

Any other React pain points that you would like to mention?
(自由提问)
Multiple
0%
20%
40%
60%
80%
100%
1

Excessive complexity

2

Performance

3

4

Next.js issues

5

状态管理 (useState, Redux, Context, 等等。)

6

其他答案

匹配“其他答案”的答案 296
0%
20%
40%
60%
80%
100%
受访者百分比
Your Path to Becoming a Senior Web Developer!
Will Sentance
Codesmith

Your Path to Becoming a Senior Web Developer!

Deep dive into JavaScript, the most popular framework React, Web performance, CSS, deploying websites, TypeScript, and functional JavaScript to become a professional web developer today.
Be Productive with React.js, Today's Most Popular Framework
Brian Holt
SQLite Cloud

Be Productive with React.js, Today's Most Popular Framework

Gain experience building, testing, and maintaining high-performance client and server-side React applications.
感谢合作伙伴对我们的支持! 了解更多。