Chapter 1. The framework without a framework
This chapter covers
- What a Web Component is
- The Shadow DOM
- Custom Elements
- Polymer Library and X-Tags
- ES6/ES2015 language features
Hello, and thanks for reading Web Components in Action! I’ve been using Web Components for a few years now on just about every web development project I’ve had.
As web developers, it’s our job to choose the right tools for any given project. This can get complicated, because it’s not just the project’s immediate needs that matter. Your team’s needs do as well, as do whether the project is part of a bigger ecosystem at your company, how it will be maintained, and how long it will need to be maintained. The list goes on.
Of course, these decisions aren’t unique to web developers, but one major difference between us and many software developers is that the web community has put out an astounding number of tools, libraries, and frameworks. It can get difficult to keep up with all of them—so much so that “framework fatigue” has been a topic of conversation for some time now.