According to official React docs, the recommended place to do Ajax requests is in componentDidMount which is a lifecycle method that runs after the React…
確定! 回上一頁