Usually, a component's `this.props.children` is an array of components:
Usually, a component's children (`this.props.children`) is an array of components:
```js
/** @jsx React.DOM */
@ -27,14 +27,16 @@ React.renderComponent(
);
```
To save an extra array allocation, it returns the component itself _without the array wrapper_ when there's only one child.
However, when there is only a single child, `this.props.children` will be the single child component itself _without the array wrapper_. This saves an array allocation.
```js
/** @jsx React.DOM */
var GenericWrapper = React.createClass({
componentDidMount: function() {
// **warning**: yields 5 for length of the string 'hello', not 1 for the