componentDidMount(){this
window.addEventListener('resize',this.onWindowResize());component
}rem
componentWillUnmount(){get
window.removeEventListener('resize',this.onWindowResize());List
}im
onWindowResize(){co
let newHeight = window.innerHeight-this.getHeight(100);let
setTimeout(() => {container
this.setState({containerHeight:newHeight})new
},200);
}