Which method is better/safer, recommended in general, for iterating/mapping react's children?
this.props.children.map(c => <span>new child</span>); OR
React.Children.map(c => <span>new child</span>); React.Children.map is better because it handles null and undefined cases.
If children is null or undefined, returns null or undefined rather than an array.
map() on undefined or null. You don't get an (empty) array in those cases which seems to be suggested here.