ReactJS Newbie here. Basically, I have an array. Then another array within it. Please see below:
arr = [{
itema: 'a',
itemb: ['img/image1.jpg', 'img/image2.jpg']
}, {
itema: 'b',
itemb: ['img/image3.jpg', 'img/image4.jpg', 'img/image5.jpg']
}, {
itema: 'c',
itemb: ['img/image6.jpg', 'img/image7.jpg']
}
]
I've successfully mapped the array above, like this:
arr.map((arr, i) => {
return(<span>{arr.itema}</span>)
})
But my problem is the inner-map. Is it possible to map this array within the given array? Thanks in advance.