@samitouri / QOS-React / commits / c0e21d1b85

Update 10.1-animation.md

Changed "if" to "even when" for clarity.

Leon Yip committed Aug 22, 2015 at 00:42 UTC c0e21d1b856672ef647e4437a75134086320ac80
1 file changed +1 -1
docs/docs/10.1-animation.md
+1 -1
@@ -54,7 +54,7 @@ var TodoList = React.createClass({
54 ```
55 > Note:
56 >
57 -> You must provide [the `key` attribute](/react/docs/multiple-components.html#dynamic-children) for all children of `ReactCSSTransitionGroup`, even if rendering a single item. This is how React will determine which children have entered, left, or stayed.
57 +> You must provide [the `key` attribute](/react/docs/multiple-components.html#dynamic-children) for all children of `ReactCSSTransitionGroup`, even when only rendering a single item. This is how React will determine which children have entered, left, or stayed.
58
59 In this component, when a new item is added to `ReactCSSTransitionGroup` it will get the `example-enter` CSS class and the `example-enter-active` CSS class added in the next tick. This is a convention based on the `transitionName` prop.
60