Fork me on GitHub
#om-next
<
2016-12-11
>
samcf19:12:56

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

samcf19:12:38

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