-
-
Notifications
You must be signed in to change notification settings - Fork 310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ObservableMap not notifying Observer mobx 2.2.3 it was woking fine in 2.2.1 #969
Comments
@boradparas Could you try one of the following?
|
Same for ObservableList etc. How can I notify observer now, when changing attrs on objects within list or map? Equality checks only addresses in memory, but not theirs contents... Is this tool only suitable for simple lists of strings and numbers? Previously, it was possible to work with objects. |
Can you please provide reproducible code? Then I can tell you how to do it. Alternatively, see the documentation. Could you try one of the following?
|
I tried it. Without changes. Perhaps I didn’t fully understand how to apply it correctly.
Looks like a suitable solution. I'll try this approach. |
|
I am using so many ObservableMaps in the app and none of them are updating the UI since I upgraded to 2.2.3
@observable ObservableMap<String, ParticipantExtended> sortedParticipants = ObservableMap<String, ParticipantExtended>();
What change I need to make to keep it working as earlier it used to work?
The text was updated successfully, but these errors were encountered: