home
NOTE: Under Construction - I'm in the middle of upgrading my site and lots of stuff is kinda broken. Please forgive the mess.

Return Multiple Elements In React

February 2021

To return multiple elements, wrap them in `React.Fragment`

Code
import React from 'react'

export default function HomePageTiles() {

    return (
        <React.Fragment>
            <div>Element 1</div>
            <div>Element 2</div>
        </React.Fragment>
    )
}
═══ § ═══