This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-11-08
Channels
- # aws (3)
- # bangalore-clj (1)
- # beginners (47)
- # boot (137)
- # cider (1)
- # cljs-dev (67)
- # cljsrn (7)
- # clojure (122)
- # clojure-argentina (5)
- # clojure-berlin (4)
- # clojure-czech (12)
- # clojure-france (27)
- # clojure-italy (9)
- # clojure-russia (88)
- # clojure-spec (44)
- # clojure-uk (157)
- # clojurebridge (2)
- # clojurescript (236)
- # datomic (5)
- # devcards (3)
- # dirac (23)
- # emacs (13)
- # hoplon (29)
- # incanter (1)
- # leiningen (41)
- # microservices (1)
- # off-topic (78)
- # om (145)
- # onyx (13)
- # parinfer (8)
- # pedestal (4)
- # planck (15)
- # protorepl (1)
- # re-frame (72)
- # reagent (25)
- # ring (2)
- # specter (23)
- # test-check (9)
- # untangled (106)
- # vim (8)
- # yada (1)
@johanatan tbh someone told me to go look at om-next and it seems like a perfect fit so far. it's funny at first glance i thought reagent was the most true to react (and it's not really accurate to compare hiccup to jsx) but om is turning out moreso with my own style of components, i suppose largely because i had no idea om-next existed
@sophiago i don't really understand what you mean by that: all of the react mechanisms are exposed w/ reagent as well
well that was my initial thought looking at the docs. they wrap everything so i was going to go that route, but then would be a bit blind documentation wise
but then when tipped off to om-next it really does seem ideal if you're used to using the top-level react api
like it feels like how i imagined reagent would. not that reagent wouldn't be a great choice if i hadn't already made design choices based on react
and you're familiar with the with-meta
pattern for overriding the lifecycle methods?: http://stackoverflow.com/questions/27602592/reagent-component-did-mount
between with-meta
, as-element
and adapt-react-class
it should be "game over" as far as interacting with React goes
seeing as that's one of the top-level react api functions you could count on two hands?
@codxse https://github.com/Day8/re-frame/wiki/More-advanced-Reagent-techniques#1-how-can-i-use-an-entity-like-nbsp
@mping @re-frame.db/app-db
is the value you are looking for
there is #re-frame too @mping
@mping https://github.com/Day8/re-frame/blob/master/docs/FAQs/Inspecting-app-db.md
#1 FAQ :-)
In a project in which we se react with addons, in my machine, react.inc.js is being included instead of the one with addons. Any ideas what might cause this?
Hi @pupeno, maybe some other library is bringing react in as transitive dependency? If that’s the case, you can check with lein tree
I think.
@sophiago here is an example of it in the wild: https://github.com/ghedamat/reagent-react-router/blob/master/src/reagent_react_router/core.cljs#L11