React学习笔记-生命周期

参考文档 constructor( props ) 初始化方法。 object getInitialState() 获取初始state。 void componentWillMount() render之前执行一次。 ReactElement render() 渲染视图。 void componentDidMount() 初始化rander之后执行一次。 boolean shouldCompone
相关文章
相关标签/搜索