This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-02-02
Channels
- # admin-announcements (33)
- # announcements (2)
- # beginners (75)
- # boot (340)
- # braid-chat (6)
- # cider (30)
- # cljsrn (44)
- # clojars (19)
- # clojure (169)
- # clojure-austin (12)
- # clojure-czech (1)
- # clojure-japan (6)
- # clojure-miami (1)
- # clojure-poland (7)
- # clojure-russia (83)
- # clojurebridge (4)
- # clojurescript (166)
- # community-development (55)
- # component (2)
- # core-async (39)
- # core-matrix (3)
- # cursive (32)
- # data-science (3)
- # datavis (3)
- # datomic (58)
- # dirac (28)
- # emacs (4)
- # events (7)
- # hoplon (254)
- # immutant (29)
- # jobs (2)
- # jobs-discuss (4)
- # ldnclj (35)
- # lein-figwheel (3)
- # mount (202)
- # off-topic (9)
- # om (123)
- # onyx (22)
- # parinfer (112)
- # proton (11)
- # re-frame (6)
- # reagent (43)
- # ring (3)
- # spacemacs (2)
Hi... just started having a look at reagent... what would be the flux equivalent of reagent in clojure, or is there no need?
@amrit these are not flux, but they are relevant to the intent of your question: 1) https://github.com/Day8/re-frame 2) https://github.com/krisajenkins/petrol
hmm thanks @gadfly361 @donmullen . I am new to clojure and react both and was wondering if i should choose to build the frontend of my app (backend is in rails) in clojurescript using reagent or in reactjs?
@amrit: Clojurescript will probably be nicer to work with than Javascript, at least ES5; ES6 is better, though still not a nice IMO.
The one thing that might be vexing when choosing Clojurescript though is consuming REST APIs.
At least it was to me at first until I figured how to properly use schema coercions and implemented two-way coercions.
@jaen do you have any links for documentation or examples concering consuming REST APIs? I have had pain with that too
@amrit if you opt for es6 + react - you might consider https://github.com/shakacode/react_on_rails
@donmullen: rails gitter just told me it would be better to sepeate out frontend and backend rails api...to simplify life
@gadfly361: you can look through this code here - https://github.com/jaen/panda-5/tree/master/src/panda_5/api - it's Clojure, but for Clojurescript it's analogous. I also have some older code here - https://github.com/jaen/projekt-bd-frontend/tree/master/src/cljs/medisoft/frontend/api - but the coercion part is not as nice as in that newer repo (but on the flipside it's Clojurescript).
@amrit: reagent project has this list, but I guess there's more than that - https://github.com/reagent-project/reagent/wiki/Applications-built-with-Reagent
@gadfly361: also this might be of interest for you https://github.com/gfredericks/schema-bijections; didn't need to try it though, the code from the first repo I linked worked well enough for my use case.
@gadfly361: I meant technically... hitting any major roadblocks etc
The lack of answer is sort of an answer; I don't think you're bound to hit anything like that.
@amrit using external js libs sometimes is a pain point (especially if they arent on cljsjs)
Using CommonJS-based libraries can be a pain - you have to use webpack/browserify/something to compile the modules out and use the resulting file as a foreign lib.
Hello guys, can I use reagent 0.6.0-alpha
with re-frame
0.7.0-alpha-2
?
I have a can't find reagent_init...
bla bla that is why I am asking 😄
uhm...
it's on clojars
@richiardiandrea: the match is working for me, this is certainly not the cause
yes I am dumb
I forgot to execute start-repl
for the Clojurescript repl
thanks and sorry for wasting your time