Re: [WICG/webcomponents] Scoped Custom Element Registries (#716)

> Does class resolution involve any kind of bubbling?

IMO, there shouldn't be any kind of implicit recursive lookup, even just into the global registry. Otherwise, you don't really have control over what's actually in your 'scoped' registry.

I'm less opinionated about whether or not recursive lookup should be possible with an explicit signal - such as passing a 'parent'/'fallback' registry when constructing a new scoped registry - but I don't think that enabling that should be considered a blocker for scoped registries in general. It seems separable enough that it would be ok if this feature initially shipped without any recursive lookup at all.

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

Message ID: <WICG/webcomponents/issues/716/1012549804@github.com>

Received on Thursday, 13 January 2022 22:01:18 UTC