Skip to content
All lessons

Tech Insights· reactjs.org

React: improved support for returning multiple children from a component’s render method

From reactjs.org

This blog site has been archived. Go to react.dev/blog to see the recent posts. React 16.2 is now available! The biggest addition is improved support for returning multiple children from a component’s render method. We call this feature fragments: Fragments look like empty JSX tags. They let you group a list of children without adding extra nodes to the DOM: This exciting new feature is made possible by additions to both React and JSX. What Are Fragments? A common pattern is for a component to…

Shared by

Read on reactjs.org
  • React
  • UI

Book a call

Lessons like this one
shape how we build.

Tell us what you’re building. In one call, we’ll show you how our team would approach it.

Tell us what you’re building, and we’ll show you how we’d approach it.

Still prefer the good old email? Contact us