skip to Main Content

Reactjs – Set new state in object in array

I have a problem with updating my object in array. const [list, setList] = useState([]); const changeRecordIndex = list.findIndex((recordItem) => recordItem.id === recordID); I creat new array, copy object wich i need and then change one parametr of object. It's…

VIEW QUESTION
Back To Top
Search