Re: [WICG/webcomponents] Anonymous Custom Elements (Issue #1074)

I have personally heard of people using the generated tagname approach. It definitely works, but has one big limitation in that generating a name for your root component doesn't generate names for the custom elements it in turns uses.

It's often a bit trickier to use generated names in template systems and CSS, and if you use 3rd party dependencies, they won't be using the generated name strategy.

Generated names would benefit greatly from scoped element registries, so that you use a generated name for the root element that may appear in the main document, and it in turns uses scoped registries for its dependencies.

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

Message ID: <WICG/webcomponents/issues/1074/2384302001@github.com>

Received on Monday, 30 September 2024 22:41:21 UTC