DEV Community

Cover image for The Case for Web Components
KlearlyKyle
KlearlyKyle

Posted on • Edited on

The Case for Web Components

First of all, what are Web Components?

Web Components are basically a set of technologies that provide a standards based component model for the 'Web'. They create reusable components which is what makes front-end frameworks like Angular popular.

So, why should you use Web Components?

1.Compatibility

First off, Web Components are a defined standard that is included in the HTML spec. Because they are a standard included in the HTML spec, it means that they have native support and are compatible with the big frameworks. This means you can build re-usable components that can be used across multiple frameworks.

2.Simplicity

Web components don't do much besides giving you a way of creating reusable components. It doesn't matter how you structure your code. They don't provide state management, data binding, or inter-component communication. Web components are there just to create reusable components while your framework handles the rest.

3.Business Perspective

If you are looking at web components from a development manager or an executive's point of view, they save you money. Developers can focus solely on creating reusable components and using these components in other applications across teams. Teams will be able to build and deploy applications much more quickly. This saves both time and money.

More information: https://www.youtube.com/watch?v=BW72P6basx8&feature=youtu.be

Top comments (0)