hello guys, I have a conceptual question: 1. user modifies component A's state 2. user modifies component B's state, which in turn updates the properties of component A 3. now component A's state is old and doesnt match with its properties, causing the UI to show the old state, instead of the new props what's the om-next way to deal with this? should component A's state be modified along with component B's state in step (2)? PS: inherited quite a bit of om-next code and still learning the language + the framework
@kenny744 using mostly fulcro. But think it's the same in this case.
https://github.com/omcljs/om/wiki/Documentation-(om.next)#transact
Transact accepts a list of keys and will refresh all components that use those keys.
Option B: send the transact as a callback from a parent component of A & B.