W przypadku indeksu wartości pętli reaguj
const elements = [] //..some array
const items = []
for (const [index, value] of elements.entries()) {
items.push(<Element key={index} />)
}
Long Loris