Implementing componentWillEnterOnMount