Invokation sequence of React.js Component Lifecycle Methods under four distinct conditions:
- componentWillMount
- render
- componentDidMount
- componentWillReceiveProps
- shouldComponentUpdate
- componentWillUpdate
- render
- componentDidUpdate
- shouldComponentUpdate
- componentWillUpdate
- render
- componentDidUpdate
- componentWillUpdate
- render
- componentDidUpdate
Note: popular data store frameworks like mobx uses forceUpdate
.