- From: Tom Wilkinson <notifications@github.com>
- Date: Thu, 03 Aug 2023 12:04:04 -0700
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <WICG/webcomponents/pull/1023/c1664485134@github.com>
To respond to Sasha briefly. I think we are operating with the assumption that the majority of developers are working with frameworks, and I don't know of any popular frameworks that use XSLT syntax for templating. This has been true for many years. The choice of `{{}}` is not the standard for all templating languages, but it's close enough that we can use it as a placeholder for now before we survey more developers. XSLT does not seem to have developer interest, and adding new features that relied on it would seem to go against where the majority of developers are headed. I think a number of us are also confident that we want a declarative syntax for template output, rather than just an imperative solution, which to me rules out template literal syntax in HTML. Template literals also have no concept of "start" "stop" ranges, and are merely insertion points for expressions, and we'd want our declarative syntax to be quite a bit more expressive. I think `{}` syntax is still a candidate, but I don't think we are as interested in `<xsl:attribute>` or `<part>` syntax to mark specific attributes or nodes as parts. I feel strongly emojis are completely off the table for DOM part markers even as a "shorthand." -- Reply to this email directly or view it on GitHub: https://github.com/WICG/webcomponents/pull/1023#issuecomment-1664485134 You are receiving this because you are subscribed to this thread. Message ID: <WICG/webcomponents/pull/1023/c1664485134@github.com>
Received on Thursday, 3 August 2023 19:04:10 UTC