helix

danielneal 2022-06-04T17:24:28.423219Z

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

danielneal 2022-06-04T17:24:41.291469Z

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

danielneal 2022-06-04T17:24:46.073129Z

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

lilactown 2022-06-04T20:01:54.863669Z

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

lilactown 2022-06-04T20:02:53.974449Z

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

lilactown 2022-06-04T20:04:50.606329Z

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