stacks • JSP, React & Svelte • We want to get consistency with our designs across all our applications • Component library per stack would require significant work
custom element is appended into a document-connected element • disconnectedCallback ◦ Invoked each time the custom element is disconnected from the document's DOM • adoptedCallback ◦ Invoked each time the custom element is moved to a new document • attributeChangedCallback ◦ Invoked each time one of the custom element's attributes is added, removed, or changed
option (customElements: true) • A tag in your component defines the element name • Has full integration into the Custom Element lifecycle • A quick example