Re: [WICG/webcomponents] [scoped-registries] reduce pain by preventing logic from ever touching non-upgraded custom elements (Issue #960)

Would that be better there or with in `ElementDefinitionOptions`?

It's probably more likely that each element definition has a better idea of whether it can handle things like properties set before update. All Lit elements for example come with code to handle that. A registry creator might not have that information about the elements in it.

So `customElements.define('my-tag', MyTag, {upgrade: false})` might be better.

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

Message ID: <WICG/webcomponents/issues/960/1189469323@github.com>

Received on Tuesday, 19 July 2022 19:27:34 UTC