Re: [w3c/webcomponents] Add Scoped CustomElementRegsitry explainer (#865)

It's been a while since I thought about this and while I tried to read up, I might have missed something, but if we scope a custom registry to a document and don't allow it to be used by multiple documents (i.e., make it as close to the global registry as possible), would you still have that problem? At least it seems you could determine _upgrade candidates_ in `define()` in near-identical fashion. If you want multiple documents then I think @justinfagnani is correct that we should keep track of them (and also clean them up when we stop caring about them). (It seems better to track documents than shadow roots so that the ordering within a document is the same as with the global registry.)

-- 
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/pull/865#issuecomment-699985669

Received on Monday, 28 September 2020 12:50:51 UTC