**{data.listArts.items.map((art, index) => {
return (
<a className="thumbnail" key={index}>
<img src={art.ArtURL}/>
</a>
);})}**
I am using the above code to display multiple items on the UI. The data.listArts.items array consists of approximately 100 elements.
After the completion of the map execution, I need to trigger a function that can interact with the generated HTML in reactJS.