Fork me on GitHub
#re-frame
<
2017-11-12
>
dimovich14:11:03

Hello, how to handle async js calls? I need to do (.setFn el) (dispatch [::save-el (.toJSON el)])

dimovich14:11:12

.setFn happens latter than dispatch, so the changes are not saved...

dimovich14:11:22

(not really a re-frame question though...)

caleb.macdonaldblack23:11:53

How can I dispatch an event when a subscription changes? I am trying to trigger navigation (secretary w/ bidi) when a page key in my appdb changes