React.Children: React.Children.toArray

React.Children.toArray

  • React.Children.toArray(children).
  • Returns the children opaque data structure as a flat array with keys assigned to each child.
  • Useful if you want to manipulate collections of children in your render methods, especially if you want to reorder or slice this.props.children before passing it down.

Related concepts

React.Children.toArray

React.Children: React.Children.toArray — Structure map

Clickable & Draggable!

React.Children: React.Children.toArray — Related pages: