创建 1.construct state初始化挂载一些防抖节流函数 2.gerDriviedStatefromprop根据props修改state 3.render函数 4.ComponentwillMount 更新 1.shouldCompenontUpgrade拦截器,布尔值 2.render 3.getsnapshotbeforeupdate获取更新前一些状态 4.componentdidupdate 卸载 1.compenontwillunmout清理时间