Fork me on GitHub
#re-frame
<
2021-07-30
>
currentoor22:07:39

Can an event handler dispatch multiple events? Using reg-event-fx

p-himik23:07:13

Yes, with the :fx effect.

currentoor04:07:14

Lol I guess it’s better to create more events compose and compose the behaviors together?

p-himik10:07:29

I'd still say it's fine in some situations, despite what emccue has told me before. Dispatching truly independent events that way should be completely fine. After all, you do call multiple independent functions in Clojure for side effects without tearing them apart.

kennytilton14:07:26

I am wondering what are the different events, @U09FEH8GN.