om

Please ask the channel first, not @dnolen directly!
2018-10-11T00:58:48.000100Z

Thank you all! It looks like I should go with reagent, but I have been reading SPA chapter in Learning Clojurescript, which has an easy om recipe for ajax calls to the server. My question is: is it easy to make the same with Reagent? Eg. page loads, user requests server data and so forth….

2018-10-11T00:59:30.000100Z

Also, wanted to know if this React.create-class deprecation and removal slated for React 16 is a threat to using cljs frameworkd at the moment? Thanks..

claudiu 2018-10-11T04:44:27.000100Z

@kingcode reagent is the most popular react-wrapper in cljs, dont think u have to worry about react updates (I'm not using reagent so not 100% sure). Be sure to check out https://www.learnreagent.com the free course is quite nice if youre just getting started.

2018-10-11T07:34:11.000100Z

I think all the options have updated to React 16 now. Om.next and om are very different, treat them as separate frameworks. FWIW, I prefer rum to reagent.

2018-10-11T18:58:37.000100Z

I have seen two distinct descriptions of owner, the second arg passed to om component constructor fns. In the om wiki, it is described as the “backing om”, or “backing React component”. But Learning Clojurescript, p. 177 defines it as “the real DOM element where this component will be rendered”. Can it be anyone of these, or am I missing something? Thanks for any advice… Edit:The defs are both correct. The wiki’s description is for om/get-props - I haven’t found yet a wiki description of owner in (fn mycomponent [data owner]..).

2018-10-11T20:02:50.000100Z

Thank you all! Much appreciated..