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
- React
- UI



