Fork me on GitHub
#reagent
<
2017-06-22
>
claudiu06:06:09

Hi. Does reagent support server-side-rendering like rum ?

claudiu06:06:18

Yep. But I was hoping that I could render them in clojure (java). With rum & om-next I was able to have server side rendering without nodejs or nashorn.

gadfly36106:06:03

Gotcha, ill let someone else chime in then

pesterhazy08:06:24

@claudiu yes I know it's possible with reagent, though I haven't done that myself

pesterhazy08:06:02

oh wait, in Clojure.... I misunderstood you

pesterhazy08:06:32

I don't think reagent has a Clojure version

pesterhazy08:06:53

personallly server side rendering seems like a huge hassle

octahedrion08:06:04

can anyone point me at some documentation that explains the difference (under the hood) between component fns which return hiccup directly, and component fns that return fns that return hiccup ?

claudiu09:06:57

@pesterhazy Yep it is, but I need it in order to pitch it at my current workplace for the next re-write. And doing it in nodejs, kinda takes a bit off the value proposition of clojure.

ajs14:06:04

Why does React Dodd list supported HTML attributes but not tags? Is there a list anywhere like div, p, etc. also couldn't find a list of supported keywords for reagent which I would expect to line up with what react supports

ajs14:06:18

S/dodd/doc