Fork me on GitHub
#fulcro
<
2019-07-24
>
exit212:07:46

What are the primary differences in df/load and df/load-action?

tony.kay16:07:31

Fulcro 2.8.12 just released to clojars: includes some minor improvements. https://github.com/fulcrologic/fulcro

mdhaney18:07:27

@njj df/load places the load transaction on the queue and sends it to the server, all in one step. It does this using transact!, so it shouldn’t be used inside a mutation. df/load-action just places the transaction on the queue, and can be used within a mutation. You use it to queue up one or more loads, then call df/remote-load to send them to the server (all from within a mutation).

👍 4