This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-07-01
Channels
- # admin-announcements (2)
- # aleph (1)
- # aws-lambda (14)
- # beginners (6)
- # boot (34)
- # carry (71)
- # cider (8)
- # cljs-dev (3)
- # cljsjs (3)
- # clojure (40)
- # clojure-belgium (1)
- # clojure-greece (182)
- # clojure-mexico (1)
- # clojure-poland (8)
- # clojure-quebec (1)
- # clojure-russia (72)
- # clojure-spec (30)
- # clojure-uk (120)
- # clojurescript (62)
- # cursive (3)
- # datomic (17)
- # euroclojure (5)
- # hoplon (26)
- # keechma (6)
- # mount (3)
- # off-topic (2)
- # om (5)
- # onyx (4)
- # other-languages (3)
- # parinfer (2)
- # pedestal (2)
- # planck (30)
- # re-frame (81)
- # reagent (31)
- # spacemacs (7)
- # spirituality-ethics (21)
- # testing (10)
- # untangled (80)
in re-frame the components side effect once. This can be achieved via a form 2 component.
(defn my-single-side-effect-comp []
(let [_ (js/console.log "my sideeffect")]
(fn []
[:h2 "hi, " (str @atom-name)])))
Here's how I wish people used cljsfiddle. In fact if there's any feedback I'm gearing up to do some upgrades on it....
and since some-ratom
is not dereffed inside the component it returns, dereferencing some-ratom
won't cause a re-render
@escherize: since you brought up cljsfiddle, may I ask: why is it Reagent only?
the project itself is really cool, I've used to to demo clojurescript to some friends, but I feel like the name should be something else
Well, given that reagent is the most downloaded react interface (view library?) I didn't think it was as much of a stretch as you do.
@kauko: imo it makes sense to start off focused, but to use a name that isn't unnecessarily limiting
@escherize: most popular, yes, but not the only one. And there are other ways to do cljs than just React
and again, the project itself is really good, it's just that I feel that the clojure community would benefit from having a fiddle where it's possible to test cljs code in general
there's definitely a need for a reagent fiddle. It may even be more important than a more generic one!
@gadfly361: so wait, are you agreeing or disagreeing with me? 😄
@escherize: how do you feel about registering http://reagentfiddle.com? Or http://reagent-fiddle.com?
Or alternatively, making the current http://cljsfiddle.com have the ability to do other stuff besides reagent
My hope would be the community could rally behind it and grow it into it's name (if desired), as opposed to making a bunch of one-off sites
thanks @mikethompson — I actually found what he’s talking about in that article by browsing in the reagent.core source, but it’s undocumented and makes it hard/dangerous to guess about such things