摘要: React组件的生命周期: 1. mounting安装过程: getDefaultProps()获取默认的Props, getInitialState()获取初始化的state,componentWillMount组件即将安装,render()安装componentDidMount()组件安装完场; 阅读全文
posted @ 2017-05-08 15:31 下辈子当座桥-李飞 阅读(181) 评论(0) 推荐(1)