title: Getting setState is not a function
body: <p>I am getting the following error</p>
  
  <blockquote>
    <p>//bundle.js:31367 Uncaught TypeError: this.setState is not a
    function//</p>
  </blockquote>
  
  <p><strong>JSX:</strong></p>
  
  <pre><code>  componentDidMount(){
      $.ajax({
          url:'http://intelligencevillage.wxtui.cn/index.php/Api/HomepageWebview/getHomepageData/area_id/5',
          dataType:'json',
          cache:false,
      }).done(function({data}){
          this.setState({
              lis1:[data.banner]
          })
      })
  }
  </code></pre>
  
  <p>I understand that its some sort of binding issue, but I don't know how to fix it. Any help is appreciated.</p>