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 think the current behaviour is the correct one. Objects are hash-like, so you can overwrite it content, it's behaviour is clear. But what to do with arrays? Definitely, not append the data, since the "keys" are not the same (you are changing the indexes of the data)... Override the entries of the array with the same index (the same "key")? Override the array itself as if it was a primitive object (numbers, strings...)?
I expected:
In the meantime, it looks like deepmerge does this.
The text was updated successfully, but these errors were encountered: