I want to add new data to a state array on a project, however, every time I update or close the app to see if the changes are still there, they arent.

```
addChild = dataUser => {
const { children, initialValues } = this.state;
const { name, lastname, birthdate, gender, specialCares, details } = dataUser;
const dataToSend = { name, lastname, birthdate, gender, specialCares };

const isFieldsComplete = this.checkIfFieldsComplete(dataToSend);
if (details.trim() !== '') dataToSend.details = details.trim();

if (isFieldsComplete) {
  if (initialValues) children[initialValues.index] = dataUser;
  else children.push(dataUser); // <- This is where I push the new data.

  this.setState({ isEditingChildren: false, initialValues: null });
} else {
  this.showAlert(
    'Complete fields', 'Please complete fields.'
  );
}

```

So, can you guys help me to tackle this issue? Thanks.