Re: [w3c/webcomponents] Lazy Custom Element Definitions (#782)

The trigger for `customElements.defineLazy` is not to connected an element into the DOM, but to create an instance of unregistry custom element, 
```JavaScript
// this code should call `customElements.defineLazy`
const myComponent = document.createElement('foo-bar')
```
After resolved `customElements.whenDefined` require auto call `customElements.upgrade` for instance by instance `myComponent`

-- 
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/782#issuecomment-478957853

Received on Tuesday, 2 April 2019 11:39:06 UTC