You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I keep finding myself in a situation, where I need to keep in sync (create/update/delete/move) an array of models (AKA VMs, Classes, factory functions) - with some observable array.
Is there some util of generic solution for that for MobX?
@NaridaL, Both directions:
When a new item (with a new ID) returned from API - a new VM should be created.
When a VM is deleted - the same item in the observable array should be delete.
I keep finding myself in a situation, where I need to keep in sync (create/update/delete/move) an array of models (AKA VMs, Classes, factory functions) - with some observable array.
Is there some util of generic solution for that for MobX?
The text was updated successfully, but these errors were encountered: