react学习笔记--生命周期By赵的拇指At2017-12-27In5Views134在react中大致可以分成三个大的生命周期,分别是:挂载、更新、卸载这三个阶段。 挂载 componentWillMount componentDidMount 更新 componentWillReceiveProps shouldComponentUpdate componentWillUpdate componentDidUpdate 卸载 componentWillUnmount