Re: [WICG/webcomponents] Proposal: Custom attributes for all elements, enhancements for more complex use cases (Issue #1029)

R-Bower left a comment (WICG/webcomponents#1029)

@LeaVerou you've nailed it with this:

> I think custom attributes would be quite crippled without props. A big part of this proposal is making attribute-property reflection easier for both custom elements and built-ins. **The idea is that many things that people today make components about, are actually traits that would be more suited as a modifier (i.e. an attribute) on other elements, rather than a separate component. See the list of use cases in the OP.**

Many custom components are more effectively implemented as modifiers on existing elements, like a native Angular directive.

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

Message ID: <WICG/webcomponents/issues/1029/2711855091@github.com>

Received on Monday, 10 March 2025 21:15:00 UTC