Fork me on GitHub
#om-next
<
2016-09-16
>
keatondunsford02:09:12

Curious, what are some of the projects y’all are working on?

joseph18:09:53

hi, I am currently using om-next to develop our a new service in our team, and just have a simple question, if multiple component use one piece of app-state, and one component does the transact to this data, why would only this component's data is updated while other components not be rerendered?

joseph18:09:04

In om (the current master branch version), all the components use the same data will be triggered to render if the data (in the app state) is updated

joseph18:09:50

I tried to find some solution or similar problem on the net, but so few articles... does anyone have the same problem?

mitchelkuijpers20:09:07

@joseph When you do a mutation you have to add read keys. then om will update all components which have a query on that key. See the documentation for more information about this: https://github.com/omcljs/om/wiki/Documentation-(om.next)#transact