// for loop workaround in react render [...Array(n)].map((_, index) => <span key={index}>element {index}</span>)