DEV Community

Discussion on: Beyond the polyfills: how Web Components affect us today?

Collapse
 
ausginer profile image
Vlad Rindevich • Edited

Regarding the customized built-in elements: I know that there's a way more promising solution supported by WebKit team. The Custom Attributes. However, there isn't a lot of hype on it for some reason even if it looks as exciting as Custom Elements. Do you know something about this proposal and why it doesn't go forward (or maybe it does but very silently)?

Collapse
 
oenonono profile image
Junk

That's a cool idea and I agree it'll be very useful. But it won't cover all the cases or purposes of extending native built-ins.

Collapse
 
ausginer profile image
Vlad Rindevich

Hmm, could you name a case? I'm trying to imagine but nothing comes.

Collapse
 
webpadawan profile image
Serhii Kulykov • Edited

Thanks for the feedback. Regarding the Custom Attributes, the only discussion I remember is this issue and also this shim by Matthew Phillips.

I don't have a strong opinion on this yet, but probably such a spec could take meta programming over DOM to the next level (if done right).

Also, I'm not sure how much performant would it be.

Collapse
 
ausginer profile image
Vlad Rindevich

I have seen one more discussion which is still opened now. However, the latest message is posted over the year ago. Don't want to believe, but it could be an abandoned proposal. Even if it looks as a great replacement for customized built-in elements. More powerful, IMO, because mixins are usually have more opportunities than inheritance.