Hi, i have found mistake in react hooks order.
Paragraph 6.6
Updating Phase follows this order:
1. componentWillReceiveProps()
2. shouldComponentUpdate()
3. render()
4. Children Life cycle methods
5. componentWillUpdate()
- Missing
componentDidUpdate
- componentWillUpdate executes before
render(), and componentDidUpdate executes after render()
Hi, i have found mistake in react hooks order.
Paragraph 6.6
componentDidUpdaterender(), and componentDidUpdate executes afterrender()