om-next

samcf 2016-12-11T19:52:56.000014Z

I'm just jumping into om.next after having written a ton of react/redux -- I'm trying to figure out which patterns still apply and where my thinking might need to change. In Redux, a component can dispatch an action without needing any knowledge of the components who might care about the mutation, and those components who have subscribed to Redux will be re-rendered. This does not seem to be the case in my example app https://gist.github.com/samcf/60908fd94b39089be05a880cec96cac0 where (om.next/transact! this '[(greet)]) is triggered but the parent does not get re-rendered. Am I doing something wrong? Thanks for your time, love CLJS so far

samcf 2016-12-11T19:53:38.000015Z

My feeling is that https://github.com/omcljs/om/wiki/Om-Next-FAQ#why-is-my-component-not-rerendered-after-transact has something to say about this but not sure I fully grokked it