title: React css webkit animation is not working after setState
body: <p>When I use setState function, it seems that render function works and html changes. However, the css webkit animation does not play again and stops at its final position. Here is my CSS code</p>
  
  <pre><code>.enemy{
      width: 80px;
      height: 160px;
      position: absolute;
      top: 0px;
      -webkit-animation:enemy 1s linear forwards;
  }
  
  @-webkit-keyframes enemy{
      100%{ -webkit-transform:translateY(1000px);}
  }
  </code></pre>
  
  <p>And Here is my JSX code:</p>
  
  <pre><code>import React from 'react';
  import './App.css';
  
  var createReactClass = require('create-react-class');
  
  var GameBoard = createReactClass({
      getInitialState() {
          return {
              gameState: 0,
              heroLoc: 0,
              enemyLoc: 0,
              enemyType : 0,
          }
      },
  
      gameStart() {
          this.setState({
              gameState: 1
          })
          this.createEnemy();
      },
  
      changeEnemyType(){
          var type = Math.floor(Math.random()*3);
          var loc = Math.round(Math.random());
          this.setState({enemyLoc : loc});
          this.setState({enemyType : type});
      },
  
      createEnemy(){
          setInterval(this.changeEnemyType, 1000);
      },
  
      render() {
          var state = this.state
          var enemyCls = state.gameState? ("enemy enemy"+ state.enemyType  + " loc" + state.enemyLoc):"enemy";
          return (
              &lt;div className = "board" &gt;
                  &lt;div className="road"&gt;
                      &lt;div className={enemyCls} id="enemy"&gt;&lt;/div&gt;
                  &lt;/div&gt;
                  &lt;span className = { state.gameState? "start hide":"start" } onClick = { this.gameStart }&gt; Start &lt;/span&gt;
              &lt;/div&gt;
          )
      }
  });
  </code></pre>
  
  <p>When I click game start bottom, class of enemy changes every second, but css animation does not replay so I can not use EventListener to detect "webkitAnimationEnd".</p>