Skip to content

Improve doc on componentDidUpdate #1958

Description

This issue has been discussed, but seems not resolved.

The docs say

componentDidUpdate() is invoked immediately after updating occurs.

Many will agree that saying "after updating occurs" is rather vague. What is meant with updating? Is it called only when state changes? Or maybe when props changed? Can it be called if neither state, nor props changed?

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