It would be nice if Immutable Iterable types were accepted in place of arrays, so that one could say:
render: function () {
return <ul>
{this.props.anImmutableThing.map((x) => <li>{x}</li>)}
</ul>
}
rather than:
render: function () {
return <ul>
{this.props.anImmutableThing.map((x) => <li>{x}</li>).toArray()}
</ul>
}
the later being ugly and easy to forget.