Fork me on GitHub
#reagent
<
2020-09-30
>
Andreas S.11:09:33

hi! I'm going through the reagent tutorial https://github.com/reagent-project/reagent/tree/master/examples/simple if I invoke" leinfighwheel" that works but the command for the production build does not work, can someone please help me with this?

juhoteperi12:09:34

lein with-profile prod cljsbuild once client

juhoteperi12:09:20

Docs should fixed on the repo now.

yenda19:09:45

Is there a way to express such property in cljs?

direction={Directions.RIGHT | Directions.LEFT}

yenda19:09:54

looks like in js:

{1|2}
3

yenda19:09:12

so I just used +

Gleb Posobin20:09:29

(bit-or left right)? Wrong channel for this though.

yenda23:09:29

I thought it was some weird special syntax for react properties