Closed srolel closed 8 years ago
I don't see it??
Here:
const Newsfeed = React.createClass({
render () {
const {stories} = this.props; // Fragments are guaranteed.
return stories.map((story) => <Story story={story} />);
}
});
Oh right, there. Thanks @Mosho1
In the Newsfeed example, an array is returned from the render function of the
Newsfeed
component, which is not a valid return value.