Fork me on GitHub
#helix
<
2022-06-04
>
danielneal17:06:28

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

danielneal17:06:41

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

danielneal17:06:46

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

lilactown20:06:54

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

lilactown20:06:53

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

lilactown20:06:50

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