Re: [w3c/webcomponents] [templates] Template proposal essentials (shave the mustache) (#739)

Well it is the matter of preferences, you can always wrap it to a function and hide nesting complexity. The good part - it is well known, flexible and valid JavaScript, you need to change very little in spec and you will get full power of templates vs you will add a lot and got mustache templates.

Eval was example of very quick and dirty polyfill. It is not required and you can parse the same expression without using eval or entroduce better native way to construct template strings from regular strings.

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

Received on Friday, 23 February 2018 20:13:22 UTC