om

Please ask the channel first, not @dnolen directly!
2018-10-10T02:04:54.000100Z

Hello, I am new to Om and am trying to find out whether it is easy enough to build a basic web app which would have a few buttons, and little state. Specifically, I want to know whether it is easy to write repeatable data: the data items would be shown in html tables; and also, draw onto canvases and interact with graphic libs such as d3.js…thanks for any comment!

claudiu 2018-10-10T08:00:13.000100Z

@kingcode https://clojureverse.org/t/what-are-paradigm-differences-between-different-front-end-clojurescript-libraries/2832/4 Might not be the best choice, for a minimal app rum or reagent might be a better fit.

2018-10-10T08:10:20.000100Z

Agree with Claudiu, Om only really makes sense for large applications with complex state requirements. I really like rum for basic stuff.

2018-10-10T08:12:39.000100Z

I don't think the framework will make much difference if you're dealing with canvases and graphics libs - usually you push that to the leaves of the dom tree and it's outside reactjs anyway.

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-11T20:02:50.000100Z

Thank you all! Much appreciated..