React 16, the latest version of the popular JavaScript library for building UIs, got its Version 16.2 update this week.
It features a fragments capability to improve support for showing multiple children from a component render method.

Fragments, which resemble empty JSX tags, let developers group a list of children without adding nodes to the DOM. You can install Version 16.2 from the NPM registry.

To install with the Yarn package manager, run yarn add react@^16.2.0 react-dom@^16.2.0.

To install it with NPM, run npm install –save react@^16.2.0 react-dom@^16.2.0.To read this article in full, please click here

Leave a Reply