Should you use a shallow or deep copy when setting new state in a component

Go to top