AllenFang / AllenFang/react-bootstrap-table
How do we populate product data getting from backend application
オープン
- 主要言語
- JavaScript
- スター
- 2.2k
- フォーク
- 761
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Hi AllenFang,
i am getting product data from database and trying to load that into table and could not succeeded.
I am using following piece of code for loading data into table,
componentWillMount() {
Axios.get('http://localhost:8080/product')
.then(response => {
return response.data;
})
.then(data =>
this.setState({
products: data
})
)
}
Could you please suggest me how i can achive this?
コントリビューションガイド
評価
この issue はまだ評価されていません。