Fork me on GitHub
#re-frame
<
2018-04-24
>
sandbags11:04:58

Hi @danielcompton yes i think it might be: the event does appear to have been traced but is not recognised by the trace UI until after a second event has been dispatched. You see that event and, at that point, can rewind back to the initialise event. I’m not at a desk but will log an issue when I am.

sandbags18:04:27

I'm having a mental block. How do I rewrite :on-change #(re-frame/dispatch [:blah %]) when using handler-fn? Or do I not need to? The example is for :on-mouse-out I'm not sure if that's a special case.

sandbags18:04:19

I suppose I can just write (fn [x] blah…dispatch; nil) myself