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

@richardkazuomiller You have MutationObservers at your disposal, so you can mimic everything `is` gives you in normal JavaScript unless you depend on synchronous callbacks. So you don't need to create a `<fancy-anchor>` element but rather can use a `data-fancy-anchor` attribute on a normal anchor, use mutation observers to know when the element is connected/disconnected and when attributes change.

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

Received on Wednesday, 26 October 2016 23:14:46 UTC