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

@EisenbergEffect 
> what if we could introduce the idea of lazy evaluation to tagged template literals?

I've separately thought about this and it seems like a great thing to propose. It's a feature that can easily seem trivial in isolation: how hard is `()=>`? and (minus the obscurity) could you make anything more terse? 

It's specifically when used with an API like this where you might need these arcane characters dozens of times that it becomes really onerous, as indeed even the `$` at the front of values in literals is.


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

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

Received on Wednesday, 21 August 2024 14:55:23 UTC