> These are tagged templates, not strings. They work as code at runtime, and it already has support to optimize it, compile it, etc.
So. How exactly do they "work as code" and "have support to optimize it, compile it, etc."?
Here's HTM's main function https://github.com/developit/htm/blob/master/src/index.mjs#L...
It: concatenates strings, parses (via regexes), then concatenates again. Can someone enlighten me as to why this is awesome, is code, is optimized and compiled?