A better solution for animating a change in an elements height when children are added.
SANS REACT: Without react this is usually done by adding the child to the DOM in such a way that it doesn't effect the positioning of existing elements, measure its height and use that info to animate the parent to a new height.
THE REACT WAY: By using React we can respond to changes in an elements children and adjust the height of the parent accordingly.