Perhaps one should note that as the component is already mounted on DOM, it may become visible before `componentWillEnter` -- for example if a browser repaint occurs due to some other 'componentDidMount()` measuring the DOM. In such case one can prepare the state by adding a proper className already in initial render, for example.