JSX Foreach
render() {
const myArray = [];
return <>
{myArray.map(item => {
return (<Element>
{item}
</Element>);
});}
</>
}
Different Dogfish
render() {
const myArray = [];
return <>
{myArray.map(item => {
return (<Element>
{item}
</Element>);
});}
</>
}