React.children.toarray объяснил
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.
Cooperative Cowfish