react组件生命周期

react组件生命周期主要分为三个阶段,分别是初始化阶段componentDidMount、组件更新阶段componentDidUpdate、组件消失阶段componentWillUnmount。

posted @ 2019-05-31 21:51  泳亮情怀  阅读(82)  评论(0)    收藏  举报