Scott Jehl released a course called Web Components Demystified, focusing on teaching about web components to clear up any confusion surrounding them.
Web components are a set of technologies where HTML, CSS, and JavaScript work together to create custom elements that behave as desired.
They include custom elements, HTML templates, and Shadow DOM; HTML Imports, a fourth ingredient, have been removed.
Web components, unlike React components, are literal HTML elements that must adhere to HTML rules.
Custom elements in web components allow developers to define an element's behavior using various lifecycle methods like constructor and connectedCallback.
HTML templates in web components are for developers, allowing the creation of reusable markup that generates more markup.
Shadow DOM in web components encapsulates markup, scripts, and styles to prevent them from affecting other DOM elements.
Scott Jehl's course and notes focus on key concepts like custom elements, HTML templates, Shadow DOM, and the lifecycle methods of web components.
Other topics covered include Custom Elements API, adopting elements, element styling, and using external stylesheets in web components.
The article also discusses popular web components frameworks and libraries like Lit, webc, Spectrum, FAST, and Shoelace.