Ask HN: Creating html – templates vs. code
With react and the likes creating markup in code, i wonder if people find templating solutions (in general) having some limitations or otherwise being inferior? Or it's just me being too attached to templates and seeing doing via code somewhat of a step backwards.
4 comments
[ 2.4 ms ] story [ 18.3 ms ] threadhttps://github.com/cgrand/enlive
IMHO the best blend of templating and 2-way-binding (and other fanciness) is probably ember.js.
Yet i still don't seem comfortable writing the markup in js. Even react's JSX preprocessor doesn't seem right to me.