Fork me on GitHub
#re-frame
<
2021-11-11
>
Drew Verlee15:11:26

Is there a reason to perfer returning a empty hashmap over nil for an re-frame event handler?

p-himik15:11:08

If you mean an event handler registered with reg-event-fx then there's no difference at all except for the value in the tracing results. Potentially, interceptors can act differently. But I don't think that's the case for any built-in interceptors.

Ryan18:11:58

Hmm I think I broke my 10x event tracing.. does it log anything to the dev console when the right code is loaded? I may have goofed up my shadow-cljs.edn file

Ryan18:11:24

I am using the fn-traced macro

Ryan18:11:50

No event shows as traced, they definitely did before but exactly when it stopped working is a mystery, I can't recall the last time I used tracing

Ryan19:11:33

Thanks will do and see how I go