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
The spread operator works for arrays but not for objects. The pattern we're currently using instead is Object.assign(), which is necessary to avoid mutations. The issue and the solution has been documented by others although I don't know what the best solution might be (1, 2,3, 4, 5, 6).
The text was updated successfully, but these errors were encountered:
The spread operator works for arrays but not for objects. The pattern we're currently using instead is Object.assign(), which is necessary to avoid mutations. The issue and the solution has been documented by others although I don't know what the best solution might be (1, 2, 3, 4, 5, 6).
The text was updated successfully, but these errors were encountered: