Fork me on GitHub
#re-frame
<
2016-10-19
>
superstructor01:10:35

More fx handlers released, this time “document” related fx/cofx which includes :document/render to render the root reagent component to the DOM as a side effect: https://github.com/SMX-LTD/re-frame-document-fx

deas06:10:56

"direct testing": I am not supposed to call the handler directly (because of interceptors), right? And it seems pointless to register. What's the proper way to call it and get the db back?

deas10:10:35

Ok, so looks like one wants to dispatch-sync and peek right at re-frame.db/app-db.

rafaelzlisboa11:10:56

@deas there’s https://github.com/Day8/re-frame-test in the oven, might be interesting too

rafaelzlisboa12:10:15

to test the events interceptors and registering, seems like the best way

deas12:10:32

@rafaelzlisboa Thanks! Will give it a test drive. Will have my food raw in case it does not work for me. 😉