第一次渲染:
父组件 constructor => 父组件 render => 子组件 constructor => 子组件 render => 子组件componentDidMount => 父组件 componentDidMount
子组件更新时:
子组件 render => 子组件 componentDidUpdate
父组件更新时:
父组件 render => 子组件 render => 子组件 componentDidUpdate => 父组件 componentDidUpdate
子组件销毁:父组件 render => 子组件 componentWillUnmount => 父组件 componentDidUpdate
父组件销毁时:父组件 componentWillUnmount => 子组件 componentWillUnmount