Immutable update (spread)
Also written: spread, { ...o, status }
Changing data by making a new copy, such as `{ ...o, status }`, instead of editing the old object. A signal only notices a new value, so this is how you update an order.
Also written: spread, { ...o, status }
Changing data by making a new copy, such as `{ ...o, status }`, instead of editing the old object. A signal only notices a new value, so this is how you update an order.