Redux utility functions
Methods
# static updateObject(oldObject, updatedProperties) → {object}
Returns an updated object (deep copy).
NOTE: The deep copy is only one level deep.
Parameters:
Name | Type | Description |
---|---|---|
oldObject |
object | The old object |
updatedProperties |
object | Updated object properties |
The new object
object