1
I have a question in an application on React Native I’d like your help.
How do I increment a new item in the array that comes from the api.
The array
of api today returns so:
data:[{ id:1, name:'product01'}, {id:2, name:'product02' }];
I’d like to put status within this array for each item. How can I do?
use the
.map
and make a newarray
– novic
an example: https://answall.com/questions/460562/javascript-map
– novic