Skip to content

componentDidMount, there is no guarantee that the DOM node is in the document? #9117

Closed
@mrdulin

Description

I read the source code and find the comment of componentDidMount method.

Invoked when the component has been mounted and has a DOM representation.
However, there is no guarantee that the DOM node is in the document.

what's the meaning of there is no guarantee that the DOM node is in the document.?

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