Fork me on GitHub
#re-frame
<
2018-05-06
>
reefersleep12:05:44

@jlmr I've followed the simple examples by w3schools the few times I've done modals 😊

hoopes20:05:02

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?

shaun-mahood21:05:58

@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.

mikethompson22:05:22

@hoopes @shaun-mahood as I remember it, you can just provide a vector of maps

hoopes22:05:30

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