HTML Templates: Not a new idea, definitely faster than rolling your own
About fifteen years ago at a startup, I built a very data-heavy single page app for biologists to manage a map/reduce version of a gene sequencing engine, and because it was data heavy, it made use of templates to render much of the HTML. If you've ever been in this situation, you reach for a library.
With HTML Templates, you might not need a library. But I suspect you're going to want one.
23 February 2021