Re: [WICG/webcomponents] Need a callback for when children changed or parser finished parsing children (#809)

I'm still very uncomfortable with providing a close tag callback of any kind. It's an extreme special case a handful of built-in elements have (to the detriment of parser performance). It shouldn't be needed to create reusable custom elements that can be created through the parser or script.

I suppose the problem here is that people don't want to provide incremental rendering for their elements, but that is what all built-in elements provide and so custom elements should too.

And also, in the event the custom element creation was not parser-driven you'd have the exact same issue, but no solution, as you don't know when the `append()` calls will stop. So it's better to solve for that and then the parser case works too.

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

Message ID: <WICG/webcomponents/issues/809/1757047993@github.com>

Received on Wednesday, 11 October 2023 07:51:46 UTC