r/Clojure • • Jul 24 '17

React server side rendering on JVM in Clojure

https://solovyov.net/en/2017/server-side-rendering/
21 Upvotes

5 comments sorted by

1

u/dustingetz Jul 24 '17

I also had a horrible experience using nashorn for react ssr. Switching to node made a lot of problems immediately just vanish. I haven't done this in a prod config yet though, but from where I'm standing it looks like a nodejs farm, or don't use React and do something in pure portable clojure.

1

u/p1r4nh4 Jul 25 '17

Well yeah, it's just having this in Clojure makes it so much easier to manage. And so much faster to render.

1

u/forreddits Jul 24 '17

That site is pretty fast, is it really a true SPA? I think I'm seeing so page reloads.

1

u/p1r4nh4 Jul 25 '17

Nope, it's an SPA. :) You can look at networking in devtools.

1

u/TotesMessenger Jul 31 '17

I'm a bot, bleep, bloop. Someone has linked to this thread from another place on reddit:

If you follow any of the above links, please respect the rules of reddit and don't vote in the other threads. (Info / ^Contact)