react生命周期
时间:2019-07-01 01:04:01
收藏:0
阅读:110
1.componentWillMount
2.render
3.componentDidMount
4.componentWillUpdate
5.render
6.componentWillReceiveProps
7.shouldComponentUpdate
这个生命周期用在子组件上,返回true 或 false
8.componentWillUpdate
9.componentWillMount
原文:https://www.cnblogs.com/luguankun/p/11111761.html
评论(0)