Function call from inside axios then?
<p>How to call a function from inside axios then below is my code which is not working </p>

<pre><code>handleClick(userid){
  axios.get(
    "http://localhost:4000/user/"+userid+"/items.json")
    .then(function (response) {
      dispatch(this.buildhtml.bind(response))
    })
}


  buildhtml(response){
  console.log("m called")
  }
</code></pre>

<p>buildhtml function is not executing !! any idea</p>