1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

Autoplay

    Render Multiple Elements without a Wrapping Element in a Component in React 16

    reactReact
    ^16.0.0

    Until React 16 it was required that a render method returns a single React element. With React 16 it is possible now to return an Array of elements.

    In addition creating self-eradicating component only rendering the children allow for a comfortable syntax. All in all this opens up new opportunities in component design and how they are nested which is demonstrated in this lesson.