JSX повтор
[...Array(n)].map((el, index) => <p key={index}>Item</p>)
Grieving Gemsbok
[...Array(n)].map((el, index) => <p key={index}>Item</p>)
const n = 8;
[...Array(n)].map((elementInArray, index) => (
<div className="" key={i}> Whatever needs to be rendered repeatedly </div>
)
)