There is a huge practical problem with web components spec v1:
In certain cases connectedCallback
is being called when the element's child nodes are not yet available.
This makes web components dysfunctional in those cases where they rely on their children for setup.
See WICG/webcomponents#551 for reference.
To solve this, we have created a HTMLBaseElement
class in our team which serves as the new class to extend autonomous custom elements from.