I've tried using ->clj with mouse events in a Reagent app with both (fn [e] (->clj e) ...) where the fn is the handler for the event, but it doesn't convert (it remains JS object). Using ->clj on the event's .-nativeEvent doesn't work either - what should I do ?
I've tried using
->cljwith mouse events in a Reagent app with both(fn [e] (->clj e) ...)where the fn is the handler for the event, but it doesn't convert (it remains JS object). Using->cljon the event's.-nativeEventdoesn't work either - what should I do ?