om-next

souenzzo 2018-07-03T00:45:24.000104Z

@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])

xlfe 2018-07-03T09:45:56.000262Z

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?

claudiu 2018-07-03T12:06:20.000203Z

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

claudiu 2018-07-03T12:09:37.000065Z

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.

👍 1