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

> can just as easily be just as easily solved with the gazillion microframeworks already out there

it's solved using non standard solutions or polluting global classes prototypes. That works for me indeed, I hope we could do better than that here though.


> There is no problem to be solved that has not already been solved.

can you please show me how to do `class MyButton extends HTMLButtonElement {}` and use it same way I can do with `class MyElement extends HTMLElement {}` registering it as Custom Element too?




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

Received on Saturday, 20 May 2017 20:20:07 UTC