Fork me on GitHub
#rum
<
2016-04-28
>
kauko05:04:08

Hi! Just wanted to pop in and ask, how does server-side rendering work in Rum? Does it use Nashorn? The README says it "runs completely in JVM with no overhead of JavaScript", but tbh I don't understand how that's possible

kauko05:04:12

¯\(ツ)

kauko05:04:29

I'm going to be talking about cljs to js devs in acouple of weeks, and I'm sure server-side rendering is one of the things they're going to ask about. Since Rum is the first framework I've actually seen to support server-side rendering, I'd like to understand how it works

rauh05:04:14

You can likely get a more detailed response on gitter instead of here.

kauko05:04:28

Hmm, alright. Maybe I'll try asking there

kauko05:04:41

I don't really understand what "compiling the hiccup data structures by itself" means

niwinz06:04:57

it means that it uses hiccup

niwinz06:04:59

on the jvm

niwinz06:04:07

for compile the rum components

kauko07:04:48

Heh, I'd never realised Hiccup started as a clj library. I always just thought of it as the syntax Reagent uses to define components. 😅 Makes more sense now