Fork me on GitHub
Drew Verlee15:11:26

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


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.


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


I am using the fn-traced macro


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


Thanks will do and see how I go