Fork me on GitHub
#om
<
2017-05-10
>
danielstockton07:05:33

@devo I do this stuff in the parser i.e. (assoc-in ast [:params :organization-id] 1)

dehli23:05:25

Hey all, I'm having a tough time wrapping my head around what's the proper way to do work with remotes and I was hoping somebody could help (i'm working with om next). Basically I have a button that triggers a transact which results in a remote mutation. This then triggers my send function which sends my api request. My request needs access to the state tree, but I don't think it has access to it inside of the send function. What would be the appropriate way to give state to the send function?