Replies: 2 comments
-
Hi @R-iskey! Do you think you could create a minimal example on e.g. CodeSandbox? It's hard to say from the code in your question what your problem is. |
Beta Was this translation helpful? Give feedback.
-
As MST is MobX-driven you can use whatever that works with plain MobX. In this case you maybe don't need any local component state for observables at all. But if you do so — useEffect should fire when its deps changed as expected. |
Beta Was this translation helpful? Give feedback.
-
Hey, I try to realize how I can mix the MST model with React state.
This is my observed component
Am I need to use
Autorun
orReaction
or we have a much more solid solution with 'mobx-react'?Beta Was this translation helpful? Give feedback.
All reactions