一、initaialization
setup props and state
二、Mounting
componentWillMount--------render--------componentDidMount
三、Updation
a.props
componentWillReceiveProps--->shouldComponentUpdate-----true--->componentWillUpdate---->render--->componentDidUpdate
b.states
shouldComponentUpdate ------>true--->componentWillUpdate--->render---- componentDidUpdate
四、Unmounting
componentWillUnmount





1321

被折叠的 条评论
为什么被折叠?



