To me the whole idea of client-side HTML templates seems bad. They start out easy enough, but then they either limit you in power or introduce new and weird concepts to replace things that are easy, familiar and often better designed in the host language. Here is an example on which I'd love to be proven wrong: https://jsfiddle.net/j2sxgat2/2/ Its a generic spinner component that waits on a promise then passes off th…
or introduce new and weird concepts to replace things that
are easy, familiar and often better designed in the host
language.
Oddly, that's exactly how I feel about the "{condition_expression && template_evaluation}" idiom in JSX.