For example, we need some code to handle the possibility of multiple versions of the same component trying to instantiate themselves on the same elements now that we no longer have a guaranteed flat tree.
This could be provided by the Custom Elements spec.
Specifically customElement.define.
Investigate also how granularly we can polyfill the webcomponents spec so as not to cause too much of a weight on older browsers (https://caniuse.com/#feat=custom-elementsv1) that do not support web components natively.
For example, we need some code to handle the possibility of multiple versions of the same component trying to instantiate themselves on the same elements now that we no longer have a guaranteed flat tree.
This could be provided by the Custom Elements spec. Specifically
customElement.define
.Investigate also how granularly we can polyfill the webcomponents spec so as not to cause too much of a weight on older browsers (https://caniuse.com/#feat=custom-elementsv1) that do not support web components natively.