Re: [WICG/webcomponents] [scoped-registries] Consider future expansion to allow using a registry without new API (Issue #1043)

out of the box thought, if it would work like a <form> when you draw a box around it (actual tag) that holds a registry and the custom elements within the tag register to this box, this way you wouldn't need to do anything to do with the creation part. 

<registry scope="document"></registry>
<registry scope="my-mfe"></registry>

this also doesn't get in the way of the frameworks and could help solve the problem when you don't have control of the creation. 

with the creation using createElement you still have the finer gained control.
this would require a whole new spec of course..


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

Message ID: <WICG/webcomponents/issues/1043/1882851847@github.com>

Received on Tuesday, 9 January 2024 10:56:22 UTC