Skip to content

Instantly share code, notes, and snippets.

@bstro
Created April 14, 2014 01:42
Show Gist options
  • Save bstro/10610118 to your computer and use it in GitHub Desktop.
Save bstro/10610118 to your computer and use it in GitHub Desktop.
render: function() {
var stories = this.state.map((story) => {
return (
<ReactCSSTransitionGroup transitionName="Story">
<Story key={story.id} story={story} />
</ReactCSSTransitionGroup>
)
})
return (
<div>
{stories}
</div>
)
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment