reagent

A minimalistic ClojureScript interface to React.js http://reagent-project.github.io/
Andreas S. 2020-09-30T11:45:33.017100Z

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?

juhoteperi 2020-09-30T12:18:34.017200Z

lein with-profile prod cljsbuild once client

Andreas S. 2020-09-30T17:35:27.017800Z

thank you

yenda 2020-09-30T19:37:45.018700Z

Is there a way to express such property in cljs?

direction={Directions.RIGHT | Directions.LEFT}

yenda 2020-09-30T19:44:54.019Z

looks like in js:

{1|2}
3

yenda 2020-09-30T19:45:12.019400Z

so I just used +

Gleb Posobin 2020-09-30T20:04:29.019900Z

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

yenda 2020-09-30T23:56:29.020500Z

I thought it was some weird special syntax for react properties