Sign in
Log inSign up

Fragment feature in ReactJS v16.2.0

Anand KS's photo
Anand KS
·Feb 2, 2018

ReactJS released v16.2 and the biggest improvement is the support for returning multiple children from a component.

Fragment is a new feature that has been implemented in ReactJS v16.2.0.

Fragment enables us to return children without any wrapper parent div's.

Usage: