DEV Community

Discussion on: We Should Stop Hating Web Components

Collapse
 
valeriavg profile image
Valeria

Thank you for the article, we should have more of those!

Web components are not a replacement for [your favourite library], they can be used alongside any. And that's the main aim: reusability across all different frameworks and lack of thereof. In other words, web components are tiny building blocks and the glue is not included.

What's for their popularity, it's worth mentioning AMP framework, that is based on web components and used wildly.

Collapse
 
theharshsingh profile image
Harsh Singh • Edited

I accept that Web Components are not a replacement for any full fledged framework. but even React is just view library which depends on other packages and libraries for making a fully functional website. In the same fashion we can use various tiny libraries for performing different functions required to make a full fledged website. like for routing we can use the Vaadin router or Slick Router and we can use Rxjs, Valtio or Akita for state management. but due to lack of tutorials and experience, new developers get scared by the fact that they will have to learn to bind all this pieces together on their own.