- From: Bruce B. Anderson <notifications@github.com>
- Date: Wed, 13 Sep 2023 07:24:44 -0700
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 13 September 2023 14:24:51 UTC
4. It was argued that we *could* leave it up to the code in the callback to decide if it wants to take action, based on what type of element is being enhanced. I don't *think* this was being advocated as the correct solution, just a thought experiment. I think it would incur a bit of a performance hit to unnecessarily instantiate and attach the class, and go through that entire handshake, if we can filter this out declaratively. I agree the class itself should have a say-so in what elements it doesn't want have any interest in enhancing. I proposed a static property (maybe in addition to the registration, both have to opt in). -- Reply to this email directly or view it on GitHub: https://github.com/WICG/webcomponents/issues/1000#issuecomment-1717738074 You are receiving this because you are subscribed to this thread. Message ID: <WICG/webcomponents/issues/1000/1717738074@github.com>
Received on Wednesday, 13 September 2023 14:24:51 UTC