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

@oleersoy

We need to be able to use `template` because of its *inertness*. As I’ve already mentioned, examples of that include Polymer’s `dom-if` and `dom-repeat`.

Even then, that’s not the only benefit of using `is`. Its progressive enhancement is also very important (what if the browser doesn’t support custom elements, or if the user has Javascript disabled?).

It’s bothersome that `is` is the best we have, I agree with you on that — I also see it as a hack —, but it is.

-- 
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-259233597

Received on Tuesday, 8 November 2016 19:25:32 UTC