Skip to content

React hooks #14

@katmai7

Description

@katmai7

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()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions