Fork me on GitHub
#reagent
<
2018-02-06
>
lilactown01:02:21

hey @kurt-o-sys - we’re using the same thing at work. ended up using shadow-cljs, and it has allowed us to get client side rendering working w/ apollo

lilactown01:02:56

a lot of our code was initially based off this example: https://github.com/tiensonqin/apollo-example

kurt-o-sys18:02:02

Do you use devcards and/or figwheel? How does it work out with shadow-cljs (replacing lein, right?)

lilactown18:02:31

we still use lein for dependencies and as kind of a task runner

kurt-o-sys18:02:22

Oh... OK, so you mix both. D'you have an example-project?

lilactown18:02:39

I believe one of my team mates set up devcards early last week - I’m going to review the merge request for it during my lunch 😛

lilactown18:02:11

here’s an example project that I cooked up over a weekend awhile back https://github.com/Lokeh/shadow-cljs-macchiato

kurt-o-sys18:02:23

:)... Well, on lein, I can set up everything (except mom modules ;) )

lilactown18:02:55

we’ve evolved it a lot since then, not actually sure what state the public repo is in. unfortunately, work code is closed source 😞

lilactown18:02:32

we’re using shadow-cljs for both server and client. most of our attention has been on the serverside thus far

lilactown18:02:25

the macchiato/lein-npm plugin actually allows you to configure your package.json in project.clj. I like it

kurt-o-sys18:02:43

OK, cool... Thx!