5 ms·
Hiccup: Fast library for rendering HTML in Clojure
- throw03172019 4y agoWe use this library for rendering our React components on the frontend (clojurescript). Also, use it on the backend to construct reports and emails.
- endless369 4y agoI'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.