A intro to the new web component spec by building a simple tab component.
One of the main issues in our components today are style conflicts. This is when our CSS or the imported component breaks CSS somewhere else. Another is lack of native templating of HTML. Storing HTML templates on a page have only been possible by using script tags or other hacks. The current component structures lack of semantic meaning. We end up with a big pile of div's that have little meaning. Angular has tried to help this with its custom element directives.
The new HTML5 Web Component Specification is a collection of specifications that when combined create a powerful web standard for creating reusable components.
Your new post is loading...