Fork me on GitHub
#reagent
<
2018-12-30
>
Bravi15:12:29

has anyone ever done SSR with reagent?

lilactown15:12:27

we’ve been using it for the last ~9 months at work

Bravi15:12:41

are you using Node.js on BE?

lilactown15:12:02

similar. we don’t use express, we use Macchiato: https://macchiato-framework.github.io/

lilactown15:12:21

and we decided to go with shadow-cljs as compiler for better npm integration

lilactown15:12:55

but that’s the general idea, yeah

Bravi15:12:56

that’s what I’m looking for 😄

Bravi15:12:09

I’m addicted to shadow-cljs

Bravi15:12:16

so it’s not a problem integrating it, right?

lilactown15:12:22

nope works great

Bravi15:12:36

are you still using project.clj for deps and stuff?

lilactown15:12:59

we do but not for any good reason. using shadow-cljs.edn for deps is just fine

Bravi15:12:17

thank you! I’ll give it a shot

👍 4
Bravi17:12:16

ok so I’ve set up a simple app that uses SSR now but I’m trying to hydrate my reagent / re-frame app

Bravi17:12:22

is it possible to do that?

lilactown17:12:14

I believe it is, though I haven’t tried using hydrate