React UsSestate -Update -Objekt in Array von Objekten

this.setState({items: this.state.items.map(x => x.id === someId ? {...x, attr:'val'} : x)});
Delightful Dove