componentDidMount() { const LeftHeight = window.getComputedStyle(this.leftDom).height; console.log(LeftHeight); setTimeout(function(){ const LeftHeight = window.getComputedStyle(this.leftDom).height; console.log(LeftHeight); }.bind(this),1000) } return ( <ContentWarp> <div className={ left } ref={ dom => { this.leftDom = dom } }> <ContentLeft/> </div> <div className={ right }> <ContentRight/> </div> </ContentWarp> ) }