Course lesson

Render Multiple Elements using React.Fragment and the JSX Fragment Syntax <> in React 16.2

With React 16 it is possible now to return an Array of elements.

Duration
2 min
Access
Pro
Transcript
Available

With React 16 it is possible now to return an Array of elements.

In React 16.2 support for fragments was added. It's a convenient way to return multiple children from a component’s render method.