- constructor() 初始化组件对象调用
 - componentWillMount() 将要插入数据的回调函数
 - render() 渲染虚拟dom
 - componentDidMount() 渲染dom完成回调
 
- componentWillUpdate() 将要更新数据的回调函数
 - render() 更新数据(重新渲染)
 - componentDidUpdate() 更新完回调
 
- componentWillUnmount() 组件将要被移除回调
 
- render() 初始化渲染或更新数据时调用
 - componentDidMount() 开启监听,发送ajax请求
 - componentWillUnmount() 做一些清理工作,如清理定时器
 - componentWillReceiveProps(nextProps) 组件将要更新数据