I looked at Facebook\'s documentation at (React.Component) and it mentions how componentWillMount is invoked on the client/server whereas componentDidMou
ComponentDidMount() Method only changes the current page in class components but ComponentWillMount() changes all the pages which effected by setStates()