Re: [WICG/webcomponents] [scoped-registries] Proposal for registry extension (Issue #989)

The most common pattern with registries will be that each component class has a single registry shared among all its instances. That registry will only contain the _direct_ dependencies of the class. Those dependencies will then have their own registries, one per-class.

So if we have components A,B, and C, there will be three registries, no matter how those inter-depend on each other and no matter how many instances of each there are.

> Inside this component, elements will be used from various sources

I've basically never seen a component like this. Who makes those elements? Who provides the definitions and tag names? This just sounds exotic, and while maybe a use-case for scoped registries for the isolation, not the mainstream case.

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

Message ID: <WICG/webcomponents/issues/989/1507803984@github.com>

Received on Friday, 14 April 2023 01:28:39 UTC