Re: [w3c/webcomponents] The is="" attribute is confusing? Maybe we should encourage only ES6 class-based extension. (#509)

It'd be nice if decorators were further along in TC39 because they're a perfect fit for this in JS land. It doesn't solve the CSS issue as presented here, but it could quite easily if there was someway to hint to the CSS engine about the custom element directly on the constructor, smolar to observed attributes.

I'd much rather leverage existing JS language semantics if possible rather than add options and global names into the mix.

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

Received on Monday, 20 February 2017 21:28:33 UTC