LitElement is a Lit project base class for building Web Components with template literals, lit-html rendering, and the standard Web Components lifecycle. section 10.3
A LitElement-based component connects familiar browser pieces in a compact workflow:
- Define HTML and CSS through a template managed automatically by lit-html. section 10.3
- Use the Web Components lifecycle while ShadyDOM and ShadyCSS provide compatibility-oriented behavior where needed. section 10.3
- Treat the approach as a smaller alternative to the discontinued feature development of the Polymer Library, rather than as an HTML Import workflow. section 10.3
