Fork me on GitHub
#om-next
<
2018-07-03
>
souenzzo00:07:24

@felixb :keys[:todo/list] is just a "doc". it's not re-trigged if you want to re-render do (om/transact this [(my/mutation args) :todo/list])

xlfe09:07:56

Thanks @souenzzo but I still don't understand why it doesn't re-trigger. The docs say ":value is an optional hint at keys affected by the mutation; it has no effect on rerendering and should only contain keys valid for :read functions." - why would you want to put a "doc" there that did nothing?

claudiu12:07:20

@felixb Did you check out https://awkay.github.io/om-tutorial/#!/om_tutorial.F_Mutation Details on Refreshing Components after Mutation ?

claudiu12:07:37

om-next seems pretty much "dormant", might be worth checking out fulcro http://book.fulcrologic.com/ (om-next fork). Pretty active, docs are crazy good.

👍 4