Fork me on GitHub
#om-next
<
2016-12-12
>
hlolli09:12:58

You seem to contradict yourself @samcf, because in om.next, components don't need any knowledge when dispatching action (in om terms transaction). But if you want re-rednering you need to do the same in om as in redux, subscribe, but think of querying a read or simply querying instead of subscribing, though that terminology is used in the re-frame community. The contradiction I see being that you do rely on knowledge of components about what to re-render already in redux.

samcf21:12:38

@hlolli i'm not sure I follow -- in the example I posted, the root component has signaled its interest in :times-greeted but isn't re-rendered when its child attempts to transact 'greet

samcf21:12:11

> because in om.next, components don't need any knowledge when dispatching action om.next yells at me when I attempt to transact! on a component that hasn't implemented om/IQuery -- I guess I'm not sure why it would need to fulfill om/IQuery when its just blindly mutating the state without needing updates