I'd recommend hooking to the componentDidMount lifecycle event and make your request there. Then, once it has finished, call setState
to update the state which will re-render your component. Check out the video here if you need more info:
https://www.youtube.com/watch?v=YpM3YK9Uue0