This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-10-10
Channels
- # 100-days-of-code (2)
- # announcements (2)
- # aws (11)
- # beginners (114)
- # boot (6)
- # calva (11)
- # cider (11)
- # cljdoc (2)
- # cljs-dev (7)
- # clojure (126)
- # clojure-berlin (1)
- # clojure-conj (4)
- # clojure-dev (1)
- # clojure-germany (12)
- # clojure-italy (22)
- # clojure-spec (96)
- # clojure-uk (111)
- # clojurescript (27)
- # core-async (8)
- # cursive (17)
- # datomic (26)
- # devops (5)
- # editors (15)
- # emacs (13)
- # events (1)
- # figwheel-main (27)
- # fulcro (64)
- # hyperfiddle (29)
- # jobs (8)
- # jobs-discuss (7)
- # liberator (4)
- # off-topic (46)
- # om (9)
- # onyx (1)
- # overtone (1)
- # perun (8)
- # re-frame (28)
- # reagent (35)
- # reitit (5)
- # shadow-cljs (96)
- # spacemacs (1)
- # testing (10)
- # timbre (8)
- # tools-deps (63)
- # unrepl (1)
- # yada (10)
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!
@U06BUCH6D 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.
Agree with Claudiu, Om only really makes sense for large applications with complex state requirements. I really like rum for basic stuff.
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.
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….
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..
@U06BUCH6D 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.
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.