Re: [w3c/webcomponents] Add `customElements.upgrade` (#710)

@bkardell @rniwa is there any way you can provide a code sample of shallow vs deep?
In our implementation to "upgrade" is merely prototype swizzling and dispatching `connectedCallback()`. A subset of the entire spec but suits our minimalistic needs.

https://github.com/devpunks/snuggsi/blob/master/custom-element-registry/index.es#L30-L45

Just trying to understand if you mean the following:

```html
<foo-bar>
  <baz-bat>Who is responsible for my upgrade?</baz-bat>
</foo-bar>
```

-- 
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/710#issuecomment-344251771

Received on Tuesday, 14 November 2017 13:01:10 UTC