- From: Joe Pea <notifications@github.com>
- Date: Wed, 30 Jan 2019 21:50:22 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 31 January 2019 05:50:43 UTC
I think the only option is to tell end users of the elements to ensure that the custom elements are **_always_** defined before they are ever used (f.e. define them in the `<head>` of the page). This way, we can rely on the custom elements' children being already upgraded when the parent's `connectedCallback` manually observes the children. Mainly I was trying to make everything "just work", even if for example the end user of the custom elements placed the script tag at the bottom of the page (defined the custom elements at the end of the body). To make this work is literally so much pain. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/787#issuecomment-459224539
Received on Thursday, 31 January 2019 05:50:43 UTC