Why Do We Have Components Now?
Explore the reasons behind Angular's shift to components and how web components offer native, fast-rendering HTML tags. Understand why Angular builds on these with features like HTTP services and routing to enable powerful, modern web applications across multiple platforms.
What is a web component?
Why did the Angular team move to components in Angular 2+? Well, this is due in part to the emergence of Web Components.
Web Components are a series of web APIs, which allow you to create your own HTML tags.
Creating your own tags isn’t actually new. As AngularJS developers, we can create our own tag using directives, and later in AngularJS 1.5+ using components.
But now, web components allow us to create HTML tags that the browser understands without the ...