组件的生命周期分为三个部分:实例化,存在期,销毁期
'温馨提示:注意大小写'
实例化:<p>
getDefaultProps()getInitialState()componentWillMount()componentDidMount()
存在期:<p>
componentWillRecieveProps()shouldComponentUpdate()componentWillUpdate()componentDidUpdate()
销毁期:<p>
componentWillUnmount()