I'm trying to figure out a way to use a loop to create multiple instances of a react component. Something like this:
export default function Squares() {
return (
<>
{for(let i = 0;i < 25;i++) {
<ReactComponent />
}}
</>
)
}
This doesn't obviously work, but this is the general idea of what I'm trying to accomplish. Thank you for any help in advance!