2 comments

[ 1.3 ms ] story [ 19.8 ms ] thread
We use this library for rendering our React components on the frontend (clojurescript). Also, use it on the backend to construct reports and emails.
I've used hiccup exclusively for html generation over the past 5 years. I just can't bring myself to be happy with anything using raw html stuff, since xml is not only needlessly verbose, but unnecesarily brittle by nature of its design. Don't ask me where to put the </a></li></ul></div>. Just ]]]] and I can rearrange however I want, quickly or with full access to regexps. Clojure syntax (hiccup, edn) is more than just convenient -- it is superior to html for most tasks, for reasons including the regexp compatibility and easy structural editing.