Skip to content

componentWillUpdate() comes before render() #26

@ZacharyRSmith

Description

@ZacharyRSmith

6.7 says

Updating Phase follows this order:
componentWillReceiveProps()
shouldComponentUpdate()
render()
Children Life cycle methods
componentWillUpdate()

but the docs say "Invoked immediately before rendering when new props or state are being received. This method is not called for the initial 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