helix 2022-06-04

hey, say I want to take my svg component and turn it into a file

with something like hiccup I guess I have the data, and could render it to html

is there a way of doing it with helix/react?

you could compile your helix code to run on node and call react-dom's renderToStaticHtml

I talked just above about writing a JVM renderer for Helix, but it's probably not ready for what you want to do

if it's just a bunch of static dom elements you could walk the code structure and convert it to html pretty easily