Four separate technologies are used together for web components in Salesforce:
Custom Elements: JavaScript APIs help to develop the HTML elements with custom templates, tag names like and behaviours.
Shadow DOM: For isolation of CSS and JavaScript living Standard DOM specification has the definitions of this.
HTML templates Read more…