Re: [WICG/webcomponents] [declarative-custom-elements] Use cases (Issue #1099)

sashafirsov left a comment (WICG/webcomponents#1099)

> What percentage of most element definitions need to be "declarative"? Can any imperative extensions run during first render?

100% declarative. It is a matter of 
* performance ( JS screws streaming and parallel processing / memory ) 
* security

In same fashion as in OOP "oriented" part, the imperative pattern can "help". But in same time it would breaak many more important aspects. The way around by extending DCE is alway an option.  

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

Message ID: <WICG/webcomponents/issues/1099/2803694607@github.com>

Received on Tuesday, 15 April 2025 03:43:46 UTC