title: How to fetch data asynchronously inside component and pass it as props to another component in render?
body: <p>I have a react app and I would like to fetch some data asynchronously, process it, change the current components state, and then pass it as props to another component in the render. I tried fetching it in componentWillMount, but seems like the render still happens before data is fetched. What is a working solution for that? I also tried fetching the data in a ES6 contructor, and the issue still persists.</p>
  
  <p>Any help is greatly appreciated!</p>