by codeflo · 2y ago · 0 comments
While I think that might be true, similarly, JSX proves that for the dynamic parts of the template, you want a real programming language.
Mixing any logic beyond that with HTML makes a mess of both.
I'm personally a fan of minimalist templating engines that provide only simple loops and conditionals so that template has to receive prepared data tree which is created by the actual programming language first and passed into the template.