React生命周期装载过程

装载过程

当组件第一次被渲染时,依次调用的函数:

construction
getInitalState
getDefaultProps
componentWillMount
render
componentDidMount

评论

暂无评论