OR
Size: a a a
OR
ВГ
V
A
A
AD
ВГ
V
V
V
м
a
A
A
м
V
A
const [arr, setArr] = useState([...]);
const update = () => {
const newArr = arr.map(obj => {
if (obj.prop === 'lolus') {
return {
...obj,
prop: 'kekus'
}
}
return obj;
});
setArr(newArr);
}
V
A
A