using immutability-helper to $merge an array
问题 I get the following error from the code below: Error: update(): $merge expects a target of type 'object'; got undefined I am trying to merge 2 arrays while only updating certain values in the items in the original array. For example, I want to update the status and updated properties but not the members array property. I think that the issue may be with the use of index in the update method but that is just a guess. Any ideas? If there is a better approach, I would like to know it. const