How to update array of objects in react native useState inside for loop?
I have a state containing array of objects that I want to update my object inside for loop. Here is my codes: Each objects contain value, text and time. The time should update inside for loop. const [initialValues, setInitialValue] =…