Перейти до вмісту

Вебкомпоненти

Створення та використання вебкомпонентів.

Досвід використання і ставлення до вебкомпонентів

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?

Групувати за:

Сортувати за:

1
Вебкомпоненти
51.3%
36%
11.2%
2
Вебкомпоненти
46.5%
38%
14.7%
3
Вебкомпоненти
41.7%
43.4%
14%
4
Вебкомпоненти
15.1%
32.8%
51.8%
5
Вебкомпоненти
11.8%
32.3%
55.6%
6
Вебкомпоненти
8.5%
15.4%
75.9%
7
Вебкомпоненти
5.3%
21.4%
72.9%

Досвід

  • Використовував(-ла): Респонденти, які це використовували.
  • Чув(-ла) про це: Респонденти, які чули про це, але не використовували.
  • Вперше чую: Респонденти, які не чули про це.

Ставлення

  • Позитивно: Респонденти, які зацікавлені у вивченні технології або хочуть використовувати її ще.
  • Нейтрально: Респонденти, які не висловили жодного ставлення до технології.
  • Негативно: Респонденти, які не зацікавлені у вивченні технології або використовували її і мали негативний досвід.

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?
Довільна форма
Множинний вибір
Головні проблеми загалом.

Вигляд:

Елементи, що не є одним(-ою) із “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%

Рекомендовані джерела

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.
Спонсорований вміст від наших партнерів. Детальніше.