Fork me on GitHub
#component
<
2016-11-15
>
seantempesta04:11:23

@sandqvist: Yeah. I’m using Posh, but I still want the separation of concerns (update fns vs subscriptions) that re-frame provides. It looks like I’m just going to assoc the datascript conn onto the app-db during the (dispatch [:initialize-db datascript-conn]) call. It feels like a hack, but then again maybe re-frame shouldn’t be holding onto it’s own state. This seems to be what Posh is recommending: https://github.com/mpdairy/posh/wiki/Re-frame-Integration