Re: [WICG/webcomponents] DOM parts use outside of <template> seems unlikely (Issue #1035)

I think the basic unit of this proposal, to use `{{}}` to mark places in the DOM that will be updated later, is not a JavaScript-only concept, nor is it reliant on any particular server architecture.

JavaScript is today the most common way of updating HTML, so to me it makes sense for that to be the first place we look when providing an API to update such marked places in the DOM. In the future, I could imagine a declarative-only syntax for updating such marked DOM parts.

The alternatives to this proposal (native HTML to mark DOM parts, JS to update them) seem less desirable. Replacing the HTML marking with some other language like XML is much more difficult, and replacing JS with CSS has been a non-starter in other proposals. 

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

Message ID: <WICG/webcomponents/issues/1035/1845624229@github.com>

Received on Thursday, 7 December 2023 16:10:24 UTC