Re: [WICG/webcomponents] connectedCallback timing when the document parser creates custom elements (#551)

Noob suggestion here, why not just link your scripts with deferred or `type="module"`, that way you know the DOM will be parsed and the child nodes present when your `connectedCallback` runs?

```html
<script type="module" src="/static/..../component.min.js>
````

-- 
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/551#issuecomment-1320832233
You are receiving this because you are subscribed to this thread.

Message ID: <WICG/webcomponents/issues/551/1320832233@github.com>

Received on Saturday, 19 November 2022 08:19:01 UTC