Re: [WICG/webcomponents] [templates] A declarative JavaScript templating API (Issue #1069)

> Can we have an in-HTML equivalent that doesn't require JS? Pretty please.

I just think that this is a lot harder to do with all the features that real world templates require. The nice thing about starting in JS for full-feature templates is that the underlying DOM Parts / Template Instantiation layer can be much simpler.

Otherwise will have to figure out expression syntax and semantics, scopes, control flow, within the context of HTML up front. With a JS layer, JavaScript takes care a lot of that for us. I think then we could continue with the HTML syntax.

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

Message ID: <WICG/webcomponents/issues/1069/2293924284@github.com>

Received on Friday, 16 August 2024 17:56:57 UTC