Lompat menuju konten

Web Components

Membuat & memakai web components.

Web Components Features

Once again we see declarative solutions prevailing, with declarative custom elements topping the sentiment chart.
Which of the following web component features have you used?

Kelompokkan berdasarkan:

Urutkan berdasarkan:

1
Web Components
51.3%
36%
11.2%
2
Web Components
46.5%
38%
14.7%
3
Web Components
41.7%
43.4%
14%
4
Web Components
15.1%
32.8%
51.8%
5
Web Components
11.8%
32.3%
55.6%
6
Web Components
8.5%
15.4%
75.9%
7
Web Components
5.3%
21.4%
72.9%

Pengalaman

  • <span aria-hidden="true">🤓</span> Sudah pakai: Responden yang sudah pakai.
  • <span aria-hidden="true">👀</span> Pernah dengar: Responden yang sudah dengar, tetapi belum pernah pakai.
  • <span aria-hidden="true">🤷</span> Belum pernah dengar: Responden yang belum pernah dengar.

Sentimen

  • Positif: Responden yang tertarik untuk belajar tentang sebuah teknologi; atau yang ingin menggunakannya lagi.
  • Netral: Responden yang tidak memiliki sentimen akan sebuah teknologi.
  • Negatif: Responden yang tidak tertarik untuk belajar tentang sebuah teknologi; atau yang sudah pernah pakai dan memiliki pengalaman negatif.

Web Components Pain Points

We know that extending built-in elements is a long requested feature, and these results validate it, as it is the top concrete pain point topic here (after the more abstract ones around complexity, reliance on JS, and accessibility).
What are your biggest pain points around creating or using web components?
(Pertanyaan bebas)
Multiple
Top pain point topics overall.

View:

Items that are not one of “limitations”
0%
20%
40%
60%
80%
100%
01
Cognitive overload
4
02
2
03
Web Components styling & theming
2
04
Web Components syntax issues
05
Competition from frameworks
06
Poor developer experience
07
1
08
Reliance on JavaScript
09
Framework compatibility
1
10
Education
1
11
Reactivity
1
12
Browser vendor issues
1
13
Loading & packaging
14
SSR
15
Ecosystem issues
1
16
Authoring model
17
Custom element attributes and props
1
18
Adoption & momentum
19
Registries & naming
20
Web Components extending built-in elements
21
End-user experience
1
22
Accessibility
23
Form-Associated Custom Elements
24
Content
1
25
0%
20%
40%
60%
80%
100%

Rekomendasi Sumber

Vanilla JS: You Might Not Need a Framework
Maximiliano Firtman
Software Engineer & Educator

Vanilla JS: You Might Not Need a Framework

See how you can build rich web apps and websites without depending on libraries or frameworks, using only the core JavaScript language.
Terima kasih kepada semua Mitra yang telah mendukung Kami! Pelajari lebih lanjut.