I´m trying to filter the data but i have an array inside an array, and i have no idea how can i get those! Also there is a property called 'toString' and thats might be a problem (function)
const filterteste = this.state.example.changelog.histories.map(item => (
{
id: item.id,
created: item.created,
field: item.items.field,
fromStringprop: item.items.fromString,
toStringprop: item.items.toString,
}
));
Desired Ouput: I´m trying to filter the array soo i have a clean array with the properties i will need
{
created:
id:
field:
fromString:
toString:
}


.maphandler, you can call.map(item.items)to map the child array, or any other Array method (do you maybe need something like.reduceor.filterfor the child array?)Author {name:example, id: example}, but i´m not going to need it!