diff --git a/docs/09.1-animation.md b/docs/09.1-animation.md index fbf7fc71..df7cfc72 100644 --- a/docs/09.1-animation.md +++ b/docs/09.1-animation.md @@ -88,7 +88,7 @@ You'll notice that when you try to remove an item `ReactCSSTransitionGroup` keep In order for it to apply transitions to its children, the `ReactCSSTransitionGroup` must already be mounted in the DOM. The example below would not work, because the `ReactCSSTransitionGroup` is being mounted along with the new item, instead of the new item being mounted within it. Compare this to the [Getting Started](/docs/docs/09.1-animation.md#getting-started) section above to see the difference. ```javascript{12-14} -render: function() { + render: function() { var items = this.state.items.map(function(item, i) { return (
@@ -97,7 +97,7 @@ render: function() {
); - }.bind(this)); + }, this); return (