Is there some support for server-side rendering in Helix?
Did a search and I don't suppose anything changed since around April, so guess not.
you can always use React’s built-in server side API
this will require your frontend server to run in node.js, but IMO its far better than pretending to render react components in the JVM
I see, thanks. I don't think I want to run node.js though. I'm migrating from Rum and would prefer some SSR support like UIx has.
Helix also does SSR, you are confusing SSR on the JVM with SSR in general
if you would like to do SSR on the JVM then you would essentially have to recreate React in Clojure (or Java)
this can lead to a bunch of hydration mismatches and subtle bugs so I do not recommend it
its always better to stick with the official React Server API or use a framework built on top of it (like Next.js)
with that said, UIx2 has some support for SSR on the JVM, but again, beware hydration mismatches, and not all hooks are supported IIRC
I'll have to look into this deeper and experiment, thanks for the pointers.