title: How can the react-virtualized CellMeasurer re-render connected components that have dynamic height?
body: <p>The react-virtualized project enables me to efficiently render a very large list of components. In my project, the list items are container components, i.e., components that are connected to the redux store. They only know their ID, and the container component is responsible for fetching all the relevant data, such as the body text, date, username, etc.</p>
  
  <p>The problem that I face is calculating the height of these components. React-virtualized has a <a href="https://github.com/bvaughn/react-virtualized/blob/master/docs/CellMeasurer.md" rel="nofollow noreferrer">CellMeasurer component</a> for calculating dynamic height, but CellMeasurer measures the height for the default state of the component, which is 0 in my container component, since the data has yet to be fetched by the container component when it renders the first time.</p>
  
  <p>Is there a way I can force the recalculation of the component height when the container loads the content?</p>