Create a component registration system that listens to changes in the DOM (most likely using MutationObserver) and decorates/destroys elements as they enter and leave the DOM.
Currently, most of our components do a one-time initialization on load and require all of the elements to already be in the DOM.
Create a component registration system that listens to changes in the DOM (most likely using MutationObserver) and decorates/destroys elements as they enter and leave the DOM.
Currently, most of our components do a one-time initialization on load and require all of the elements to already be in the DOM.