examples

Components

A component can be any combination of elements that are styled together to create a larger component.

Examples

Web Components

True Web components are custom HTML elements with their own JS API that encapsulates their functionality, style and markup using a Shadow DOM and HTML Template, allowing for their re-use without fear of colliding with other code.

There are four lifecycle methods associated with them:

Examples

References: