I just ran some quick and dirty benchmarks and it does seem like Rum's render-to-static-markup is substantially faster than the original Hiccup library for processing Hiccup. The nuzzle.hiccup/raw function would instead insert that text into the React-style [:<> {:dangerouslySetHTML {:__html "<h1>hi</h1>"}}]
I just ran some quick and dirty benchmarks and it does seem like Rum's
render-to-static-markup
is substantially faster than the original Hiccup library for processing Hiccup. Thenuzzle.hiccup/raw
function would instead insert that text into the React-style[:<> {:dangerouslySetHTML {:__html "<h1>hi</h1>"}}]