Web Components vs React

Cluster focuses on debates comparing Web Components to React and other JS frameworks, discussing their advantages like universality and browser-native support, shortcomings such as API usability and Shadow DOM issues, and why they haven't replaced frameworks.

📉 Falling 0.5x Web Development
4,684
Comments
17
Years Active
5
Top Authors
#1058
Topic ID

Activity Over Time

2007
1
2011
2
2012
34
2013
102
2014
204
2015
245
2016
263
2017
357
2018
291
2019
334
2020
441
2021
248
2022
300
2023
851
2024
471
2025
513
2026
27

Keywords

verou.me JS Parts.md context.md PFvMgFp.png mozilla.org WICG WebComponents webcomponents.org vuejs.org web components components web react dom shadow component html v1 lit

Sample Comments

syntern Mar 19, 2014 View on HN

Why not just use web components?

vaylian May 12, 2025 View on HN

Why do you think web components are not great?

paavohtl Sep 29, 2021 View on HN

What does WebComponents offer that also React offers, other than some form of components?

web components are great replacement for a bloated react framework.

peanut_worm Sep 29, 2021 View on HN

I haven’t used React in a while, what does it offer that WebComponents do not?

spankalee Oct 29, 2020 View on HN

Seems like a great use case for web components, which would just work in any framework.

nawitus Feb 7, 2015 View on HN

How about using Web Components? They seem to solve most of the problems that JavaScript frameworks try to solve.

aikah Mar 20, 2015 View on HN

What happened to web components ? isn't supposed to solve these issues ?

XCSme Jun 22, 2023 View on HN

Will Web Components ever replace those front-end libraries? What are they lacking?

thayne May 12, 2020 View on HN

Webcomponents should help with this. Although the current API is not as pleasant to use as react.