react基础(4)—— 生命周期(lifecycle)
摘要:
react生命周期分为三个大的阶段: 初始化(intial) > 运行中(running) > 销毁(destroy) lifecycle > intial: componentWillMount() render() componentDidMount() componentWillMount:a 阅读全文
posted @ 2018-10-24 11:08 杨学友 阅读(335) 评论(0) 推荐(0) 编辑