Skip to content

Documentation Update Required #1606

@kaustubh-karkare

Description

@kaustubh-karkare

In the Component Specifications documentation, the following note must be added for the componentWillReceiveProps method:

If you update the component state during this method using this.setState() or this.replaceState(), the callback provided as the second argument to these methods is invoked immediately. You may want to shift to your callback to componentDidUpdate.

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