Which template engine is more popular on the market for Spring?

Advise the demand on the freelance market template engine for Spring, preferably with html-like syntax.

Looking in the direction of the Mustache, but I want to choose the one which is more popular and stable, so in a month-the second not to teach something else
June 14th 19 at 19:09
2 answers
June 14th 19 at 19:11
Funny question. The templating engine is just a submission tool. Don't be afraid to learn new things.

As for the choice - Thymeleaf good, but there are nuances.
For example, Thymeleaf provides a "working" layout, which the designer and programmer can work in parallel, but this is probably the only plus.
Of the minuses which I noted:
1. If the client is used, for example, Angular.JS then in the attributes of tags you will have utter mess, conditionally:

In a real project, where the number of attributes must be multiplied by X, it was difficult to support .
2. Given the fact that Thymeleaf Directive-oriented template, its scope is the tag. Unfortunately, not all tags are equally good. And sometimes not at all!
Let's say you want to send plain-text messages by e-mail. You do not need a layout and you generate not HTML. In this case, Thymeleaf will have problems, because only the tags define its SCOPE. I think once spike this problem can be solved type th:removetag, but not always. In one case, we tried to generate the style block in the head of the page and the Thymeleaf, as I recall, there were problems with this (possibly fixed).

In any case, we loved Thymeleaf and was its ardent followers, we are not faced with conceptual limitations of the ties of the Directive. The entire project was rewritten in Freemarker (fortunately not much was generating HTML in the backend) - happy.
June 14th 19 at 19:13

Find more questions by tags HTMLJavaJavaScriptSpring