ข้ามไปยังเนื้อหา

Usage

How you use JavaScript

The proportion of developers who write the entirety of their code in TypeScript keeps increasing, and may soon represent a majority of respondents.

How do you divide your time between writing JavaScript and TypeScript code?
0%
20%
40%
60%
80%
100%
1
100% JS
661
2
|
438
3
|
381
4
|
209
5
50/50
578
6
|
255
7
|
1,073
8
|
2,972
9
100% TS
4,367
0%
20%
40%
60%
80%
100%
% ของผู้ตอบคำถาม

A natural consequence of writing typed code (at least today) is depending on a build step, which is the case for the vast majority of us.

What proportion of the JavaScript code you write for the browser goes through a build step?
0%
20%
40%
60%
80%
100%
1
0% Compiled
260
2
|
184
3
|
183
4
|
114
5
50%
540
6
|
229
7
|
897
8
|
2,349
9
100% Compiled
5,861
0%
20%
40%
60%
80%
100%
% ของผู้ตอบคำถาม

If we did want to envision a build-less future, the first step would no doubt be native type support in JavaScript.

What do you feel are the main advantages resulting from using a build step?
Multiple
0%
20%
40%
60%
80%
100%
01
Static typing
7,891
02
Better development experience
5,460
03
Code optimization
4,963
04
Template/component transpilation
4,232
05
Bundling
2,921
06
Linting
2,097
07
Browser compatibility
1,503
08
Environment management
642
09
Asset processing
631
10
No advantages
11
All of the above
12
คำตอบอื่นๆ
53
0%
20%
40%
60%
80%
100%
% ของผู้ตอบคำถาม

While respondents do not yet produce a majority of their code with AI, the balance is quickly shifting, with code being the result of AI output increasing from 20% to 29% year-over-year.

What proportion of the code you produce is AI-generated?
0%
20%
40%
60%
80%
100%
1
0% AI
1,126
2
|
3,224
3
|
2,783
4
|
1,090
5
50%
1,153
6
|
557
7
|
627
8
|
187
9
100% AI
23
0%
20%
40%
60%
80%
100%
% ของผู้ตอบคำถาม
We asked members of the JavaScript community to share their “pick of the year”

My 2025 Pick: Talk: Next.js at the speed of Bun

My pick is Lydia Hallie's talk at Next.js Conf about Bun. They're working on super exciting things, and shes the best at explaining advanced topics :)
We asked members of the JavaScript community to share their “pick of the year”

Despite the ever-growing number of use cases for JavaScript, front-end develeopment remains the most common reason to use the language for now.

What do you use JavaScript for?
Multiple
0%
20%
40%
60%
80%
100%
01
Frontend Development
10,777
02
Backend Development
7,261
03
Mobile Apps
2,696
04
Desktop Apps
1,869
05
Data Visualization
1,795
06
Graphics & Animation
1,282
07
Data Analysis
938
08
Game Development
682
09
Embedded Apps
+1
253
10
Machine Learning
-1
242
0%
20%
40%
60%
80%
100%
% ของผู้ตอบคำถาม

ภาคอุตสาหกรรม

Given the survey's focus on upcoming trends and early-stage features, it makes sense that its largest audience block would be developers building tools and products for other programmers.

คุณทำงานในอุตสาหกรรมใดบ้าง?
Multiple
0%
20%
40%
60%
80%
100%
01
การเขียนโปรแกรมและเครื่องมือทางเทคนิค
4,210
02
การปรึกษาและบริการ
3,243
03
อีคอมเมิร์ซและค้าปลีก
2,403
04
การเงิน
1,691
05
การศึกษา
+1
1,464
06
เครื่องมือด้านการตลาด/การขาย/การวิเคราะห์
-1
1,419
07
บันเทิง
1,360
08
บริการสุขภาพ
992
09
ข่าว, สื่อ, และการบล็อก
854
10
รัฐบาล
757
0%
20%
40%
60%
80%
100%
% ของผู้ตอบคำถาม

Modern JavaScript frameworks may now support a whole range of various rendering modes, but it turns out the simplest ones remain the most popular to this day.

Which of the following architecture and rendering patterns have you used in the last year?
Multiple
0%
20%
40%
60%
80%
100%
01
Single Page Application (SPA)
9,467
02
Server-Side Rendering (SSR)
6,308
03
Static Site Generation (SSG)
4,865
04
Multi-Page Application (MPA)
4,228
05
Partial Hydration
2,302
06
Islands Architecture
1,646
07
Progressive Enhancement
1,335
08
Streaming SSR
+1
1,061
09
Partial Prerendering
+1
922
10
Incremental Static Generation
-2
917
0%
20%
40%
60%
80%
100%
% ของผู้ตอบคำถาม

We now have pretty much all the tools we need; the challenge is to know how to use them right.

What aspects of JavaScript do you struggle with the most?
Multiple
0%
20%
40%
60%
80%
100%
01
Code Architecture
3,809
02
State Management
3,490
03
Managing Dependencies
3,203
04
Date Management
+3
2,681
05
Performance
2,578
06
Build Tools
-2
2,303
07
Debugging
-1
2,177
08
Typing
1,916
09
Finding Packages
+1
1,303
10
Async Code
-1
1,110
0%
20%
40%
60%
80%
100%
% ของผู้ตอบคำถาม

Happiness is once again stable.

How happy are you with the general state of web technologies?
1
2
3
4
5
2020
2021
2022
2023
2024
2025
1
2
3
4
5
ค่าเฉลี่ย

Happiness levels remain constant once again.

How happy are you with the general state of JavaScript?
1
2
3
4
5
2020
2021
2022
2023
2024
2025
1
2
3
4
5
ค่าเฉลี่ย

แหล่งข้อมูลที่แนะนำ

Practical Prompt Engineering
Sabrina Goldfarb
GitHub

Practical Prompt Engineering

Generate higher quality code from AI tools! Learn prompting techniques that work consistently across Claude, ChatGPT, Copilot, and Cursor. Transform vague project ideas into structure, actionable development plans.
Front-End System Design
Evgenii Ray
Staff UI Engineer

Front-End System Design

Dive into front-end system design to create scalable, efficient user interfaces! Master core UI fundamentals: box model, browser rendering, DOM manipulation, state management, and performance.
ขอบคุณพันธมิตรของเราที่สนับสนุนเรา! เรียนรู้เพิ่มเติม