初学react,对一些组件周期函数什么时候触发不太清楚,自己写了个domo研究一下。代码里有详细注释。。 componentDidMount componentWillUpdate componentWillReceiveProps
github地址