は、以下の実行していないAxios内部からの関数呼び出し? axios内から関数を呼び出す方法
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")
}
buildhtml機能を動作していない私のコードです!任意のアイディア
は働いていなかった:( – ashwintastic
を一度あなたのコンポーネントを共有することができますか?フィドルを作成し、リンクを共有する? –
このリンクをチェックしてください[フィドルリンク](https://jsfiddle.net/ob1c0aye/1/) – ashwintastic