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

@tomalec thanks for sharing the snippets.  I appreciate that.  Is there something that devs can achieve with less effort or better syntax that they cannot achieve with custom elements in general?

In other words I should invest my time in examining both custom elements and custom element templates, because custom element templates add this ________________ feature that we simply cannot get with custom elements?

At first glance when I see this:

``` html
<table>
    <my-template>
        <template>
```

My gut tells me that I could arrive at the same point with:
``` html
<table>
    <my-component>
```
Possibly with the same or less effort.  If I am right then I would prefer that someone handed me the latter from a maintenance point of view (Just my preference, it does not mean it's the right or only way), since I'm already familiar with web components / custom elements.

But there could be a reason why:
``` html
<table>
    <my-component>
```
Is not going to work?


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

Received on Tuesday, 8 November 2016 18:34:35 UTC