4 ms·
Hiccup is a pleasure to use. Everything from template inheritance to view-layer functions become trivial to do yourself since it's just some datastructures. Usi
by danneu 11y ago
Hiccup is a pleasure to use. Everything from template inheritance to view-layer functions become trivial to do yourself since it's just some datastructures. Using the same tools (paredit) to edit html that you use to edit Clojure makes html finally tolerable.
However, its big drawback is that it's unsafe by default. You have to opt in to escaping everything you send through it.
Though I believe Reagent's Hiccup-like syntax and https://github.com/r0man/sablono https://github.com/r0man/sablono (for Om) are safe.