Understanding Web Standard - Shadow DOM and Custom HTML Elements

By hackernoon - 2021-01-19

Description

Getting Familiar with New Web Standards

Summary

  • I run Dev Spotlight - we write tech content for tech companies.
  • But, because the second h1 is actually on the shadow DOM, outside styles and JavaScript events won't affect it.
  • Once you extend from LightningElement, LWC knows two things: That's where the