react-enlightenment icon indicating copy to clipboard operation
react-enlightenment copied to clipboard

React hooks

Open katmai7 opened this issue 9 years ago • 0 comments

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()
  1. Missing componentDidUpdate
  2. componentWillUpdate executes before render(), and componentDidUpdate executes after render()

katmai7 avatar Aug 17 '16 12:08 katmai7