Re: [WICG/webcomponents] [idea] Make use of `observedAttributes` optional (#565)

@Matsuuu the registry is public, meaning every script could update your observed attributes ... in a world first-come, first-serve that idea is as bad as allowing prototype changes after Custom Elements definition.

In these cases, using a MutationObserver for attributes doesn't seem like bad at all, so the primitive is there, we just need to use it when appropriate.

-- 
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/565#issuecomment-763163061

Received on Tuesday, 19 January 2021 21:49:07 UTC