Current doc about componentWillMount says that:
It is called before render(), therefore setting state in this method will not trigger a re-rendering.
I thinks it would be better if we say:
It is called before render(), therefore setting state directly in this method will not trigger a re-rendering because we batch it.(but setting state indirectly/asynchronous will trigger a re-rendering,such as setTimeout(() => {this.setState(...)})).