This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-05-06
Channels
- # aws (11)
- # beginners (51)
- # cider (61)
- # cljsrn (37)
- # clojure (51)
- # clojure-spec (5)
- # clojure-uk (6)
- # clojurescript (35)
- # core-async (29)
- # cursive (3)
- # datomic (4)
- # defnpodcast (3)
- # editors (10)
- # emacs (3)
- # fulcro (2)
- # lein-figwheel (9)
- # leiningen (3)
- # mount (3)
- # off-topic (59)
- # parinfer (6)
- # portkey (4)
- # re-frame (6)
- # shadow-cljs (136)
- # spacemacs (1)
- # specter (1)
- # tools-deps (10)
@jlmr I've followed the simple examples by w3schools the few times I've done modals 😊
if i wanted one event handler to make two ajax calls with https://github.com/Day8/re-frame-http-fx, what is the pattern i would use? Something like dispatch-n
to a couple sub-handlers?
@hoopes: If the second call doesn’t depend on the results of the first, that’s the pattern I’ve always used and it seems to work fine.
@hoopes @shaun-mahood as I remember it, you can just provide a vector of maps
yeah, i looked at the code, and https://github.com/Day8/re-frame-http-fx/blob/master/src/day8/re_frame/http_fx.cljs#L85 looks like it normalizes it to a vector