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