jitterted, Using #htmx in my apps has let me turn the "no logic in HTML templates" all the way up to 11.
I am now very aware (and suspicious) of any logic being evaluated, or even things like string concatenation, being done in HTML templates.
I may have to write a tool to warn me (or fail a test!) if I start using
th:if
,th:unless
, or anything that looks like a method call in my Thymeleaf templates.
Add comment