In which method is it more correct to make a request to the server for data componentWillMount or componentDidMount?
1 answer
componentDidMount, there is good stuff that explains this: https://daveceddia.com/where-fetch-data-componentwillmount-vs-componentdidmount/
- Great article, thanks - abakan
|