om-next

keatondunsford 2016-09-16T02:31:12.000113Z

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

joseph 2016-09-16T18:45:53.000114Z

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?

joseph 2016-09-16T18:47:04.000115Z

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

joseph 2016-09-16T18:47:50.000116Z

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

mitchelkuijpers 2016-09-16T20:55:07.000117Z

@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