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

@andregs @trusktr after feedback and a post, I've experimented a new approach where mixins/behaviors are handled directly through the `classList` (element's class), solving name clashing, and the callbacks order. It's called [p-cool](https://github.com/WebReflection/p-cool#readme) and it uses Custom Elements primitives to work, so it's less MutationObserver error prone. Let me know even via twitter DM what you think, so we don't keep piling up posts to this thread, thanks.

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

Received on Sunday, 8 August 2021 10:33:25 UTC