`

lifecircle

 
阅读更多

1.mount 2.update 3.unmont

 

constructor

 

componentWillMount(多次调用,涉及到Diff算法fiber)

render

compontentDidMount(ajax入口)

 

compontentWillReceiveProps

shouldCompntentUpdate(优化)

compontentWillUpdate

render

compontentDidUpdate

 

compontentWillUnMount

compontentDidUnMount

 

 

https://segmentfault.com/a/1190000005990091

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics