跳到内容

移动端和客户端

用于移动设备和桌面端app的 JavaScript

移动端和桌面端开发工具随时间变化的比率

在过去的十年中,开发移动和桌面应用程序变得越来越普遍,但这并不意味着开发人员一定会对他们的工具感到满意。

虽然 Tauri 和 Expo 在留存率排行榜上名列前茅,但与优秀的本地应用程序相比,其他所有应用程序的留存率都较低。

Electron
React Native
Native Apps
Cordova
Ionic
Capacitor
NW.js
Expo
Quasar
Tauri
NativeScript

模式:

视图:

0%
20%
40%
60%
80%
100%
2016
2017
2018
2019
2020
2021
2022
2023
2024
0%
20%
40%
60%
80%
100%

Other Mobile & Desktop Tools

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

21
2

PWA

15
3

3
4

one

2
5

2
6

2
7

2
8

webview_bridge

2
9

Fraction.js

1
10

1
11

其他答案

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

同样,像 Tauri 这样的新工具在工作场所似乎主要被经验较少的开发人员所使用,这也说明没有那些包袱有时也是件好事!

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

2,564
2

1,998
3

1,256
4

1,081
5

833
6

732
7

515
8

483
9

264
10

136
11

66
12

4,805
0%
20%
40%
60%
80%
100%
受访者百分比
Which of these tools do you use in a professional context?
我们询问了 JavaScript 社区的成员,分享他们的“年度选择”

我的 2024 选择: Knip

Knip is an amazing tool that analyzes your code and tells you what you can get rid of. It’s fast (so you can run it in CI), understands many frameworks and libraries out of the box, and works seamlessly in monorepos, too.
我们询问了 JavaScript 社区的成员,分享他们的“年度选择”

Dominik Dorfmeister

Software Engineer @ Sentry, React Query maintainer

Number of Items

How many items in this category respondends have used (or heard of).

视图:

0%
8%
16%
24%
33%
41%
1

0

5,715
2

1

2,186
3

2

2,250
4

3

1,620
5

4

995
6

5

616
7

6

345
8

7

170
9

8

74
10

9

30
11

10

9
12

11

5
0%
8%
16%
24%
33%
41%
调查对象百分比

开发移动端和桌面端的满意度

0
1
2
3
4
2016
2017
2018
2019
2020
2021
2022
2023
2024
0
1
2
3
4
平均 {axis}
您对开发移动端和桌面端的工具的现状满意吗?

开发移动端和桌面端的痛点

JavaScript 代码库在性能方面仍难以与纯粹的原生应用程序相抗衡。Electron 和 React Native 似乎都有各自的缺点。

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

Performance

2

3

4

Configuration

5

Excessive complexity

6

Breaking changes

7

Native APIs access

9

10

Bundle size

0%
20%
40%
60%
80%
100%
受访者百分比
在使用 JavaScript 构建移动端和桌面端应用程序时,您遇到了哪些痛点?
(自由提问)
React Native, v3
Kadi Kraman
Formidable

React Native, v3

Use your React skills to build feature-rich, native mobile apps for iOS and Android using React Native and Expo. Learn to create UI components like custom buttons and scrollable lists, implement navigation between screens, and persist data using AsyncStorage.
Electron, v3
Steve Kinney
Temporal

Electron, v3

Build native, cross-platform desktop apps using HTML, CSS, JavaScript, and React.js with Electron. Get hands-on experience building real-world apps for the menubar and system tray.
感谢合作伙伴对我们的支持! 了解更多。