摘要: RN 组件的生命周期如下图: 生命周期回调函数 挂载 当组件实例被创建并插入 DOM 中时,其生命周期调用顺序如下: constructor() static getDerivedStateFromProps() render() componentDidMount() 注意: 下述生命周期方法即将 阅读全文
posted @ 2020-07-17 15:51 Jade_g 阅读(839) 评论(0) 推荐(0) 编辑