This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-05-26
Channels
- # admin-announcements (2)
- # aws (1)
- # beginners (21)
- # boot (61)
- # cider (5)
- # cljs-dev (94)
- # cljsrn (35)
- # clojure (106)
- # clojure-austin (3)
- # clojure-belgium (1)
- # clojure-dev (4)
- # clojure-dusseldorf (9)
- # clojure-greece (2)
- # clojure-mexico (1)
- # clojure-russia (40)
- # clojure-spec (61)
- # clojure-uk (17)
- # clojurescript (151)
- # code-art (1)
- # component (7)
- # core-async (4)
- # cursive (1)
- # datomic (9)
- # dirac (55)
- # funcool (12)
- # hoplon (118)
- # incanter (12)
- # jobs (8)
- # juxt (1)
- # lein-figwheel (6)
- # mount (2)
- # off-topic (2)
- # om (76)
- # onyx (28)
- # other-lisps (1)
- # planck (7)
- # re-frame (9)
- # reagent (13)
- # ring-swagger (2)
- # specter (1)
- # yada (22)
@pbaille: that will be a bug. Could I please get you to submit an issue here: https://github.com/Day8/re-com/issues. Thanks.
How would re-frame handle a situation where I have 3 buttons that all do the same thing (thing A), and later I'll want one of the buttons to do things A and B? Should I have separate events for each of them from the start (`:button1-pressed`, :button2-pressed
), or can I compose events somehow?
btw, couldn't re-frames README benefit from having a full example in the bottom? I've read the README a while back but I've never used re-frame, but sometimes when I come back it'd be nice to get the "whole picture" quickly. Just to remind myself.
@kauko At the bottom of the readme it has a "Where To Go" next section which points to: https://github.com/Day8/re-frame/tree/master/examples
Yeah, I saw them 🙂 But wouldn't it be nice if there was one final code block that showed all the "keywords" (dispatch, subscribe), and how they're connected together?
@kauko: regarding your other queston, hard to say exactly, but I think I'd make the two buttons dispatch
differently