stelcodes / nuzzle

A functional static site generator so smol you won't even notice it's there 🐈
Eclipse Public License 2.0
17 stars 1 forks source link

Use Rum for hiccup -> HTML processing instead of original Hiccup library #137

Closed stelcodes closed 2 years ago

stelcodes commented 2 years ago

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>"}}]