摘要: 组件的生命周期 挂载 当组件实例被创建并插入 DOM 中时,其生命周期调用顺序如下: constructor() static getDerivedStateFromProps() render() componentDidMount() componentWillMount() 之后将废弃 更新 阅读全文
posted @ 2019-06-04 23:34 adoctors 阅读(294) 评论(0) 推荐(0) 编辑