-
Hi,
It get a ton of:
When How do I explicitly have ComandStore/CommandListStore ignore modifications to StatusStore? I don't believe I had this issue in MobX 4. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Is
You can disable subscriptions with There should be no difference between v4/v6 in this regard. |
Beta Was this translation helpful? Give feedback.
-
Ok so specifically: entityStores = class CommandStore[] modifying So
I either need to wrap the dispose function in a |
Beta Was this translation helpful? Give feedback.
-
I wrapped the FYI, |
Beta Was this translation helpful? Give feedback.
Is
CommandListStore.entityStores[0].statusStore.entity
accessed duringentityStores
? If it is, the result ofentityStores
depends on it and therefore will recompute on change. If there is no annotation onstatusStore
it behaves as normal getter, it won't prevent tracking accessed observables...You can disable subscriptions with
untracked
, but it's unlikely you actually want to do that.There should be no diffe…