Assembly here refers to stateful components , stateful components only have this.state function and life cycle
React component life cycle is divided into three parts:
- ** ** Component Creation Phase: Features: lifetime executed only once
>constructor:
> ComponentWillMount:
> the render:
> componentDidMount: page load transmitting ajax operation or by dom
- ** ** component operating phases: demand, according to the change of state of props attributes or state, there are performed a plurality of times to selectively 0
> componentWillReceiveProps:
> shouldComponentUpdate:
> componentWillUpdate:
> render:
> componentDidUpdate:
- ** ** Components destruction stages: a lifetime to perform only once
> componentWillUnmount: