Re: [csswg-drafts] [css-shadow-parts] IDL for attributes

I think we should wait for web developers to ask for a new structured attribute manipulation technology, and gather their use cases in a way that services all such attributes, instead of designing one ourselves independently. Right now we know web developers have the use case of working with property-based frameworks like React, for which string reflection is preferable (e.g. they use className, not classList, and if we only reflected classList, React would be unable to use classes). We should wait for a similar ask for structured reflection before adding it, which we can easily do additionally.

Also note that named properties are deprecated in IDL.

-- 
GitHub Notification of comment by domenic
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2414#issuecomment-405800715 using your GitHub account

Received on Wednesday, 18 July 2018 03:52:51 UTC