react

orestis 2022-04-27T06:29:57.193059Z

Has anyone tried doing React SSR from within a JVM ScriptEngine eg with Graal.js? They claim to be node compatible so it should work in theory?

orestis 2022-04-27T06:30:37.605479Z

In the sense that you'd generate a dedicated bundle with CLJS and load/run that to render an HTML file.

Roman Liutikov 2022-04-29T11:58:25.875799Z

should work fine, unless there's something specific to Node in ReactDOMServer

lilactown 2022-05-16T21:54:16.484689Z

I think the new renderToPipeableStream relies on some Node.js stuff, not sure if it's replicated in Graal.js

lilactown 2022-05-16T21:54:39.455849Z

if Graal.js implements WebStreams then you could use renderToReadableStream()