Make the API call in componentDidMount(), techniques ... So you can use setState to update your component when the data is retrieved. For example using Class:.
確定! 回上一頁