Replacing object doesn't update observables. Gets stuck on older object. #2899
Unanswered
burtonator
asked this question in
General
Replies: 1 comment
-
Please provide ideally runnable reproduction. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Previously I had a version of our app that had an object with just a few strings, numbers, etc.
if I would call setFoo() on a string the UI would reflect that change.
Now I've changed foo to be an object (class instance) and it's Reactive and has makeObservable called but when I replace it the UI doesn't update.
What am I doing wrong here?
I just updated and I'm running the latest version of mobx.
Beta Was this translation helpful? Give feedback.
All reactions