Skip to content

Reconciliation docs need amendment #1928

Description

@rscharfer

I think it can be clarified that the component that's rendering a React element of a new type will itself not be remounted; however, its child elements will be.

In other words if a component's render method returns

<div>
  <Counter />
</div>

when it is mounted and later (when it is updated)

<span>
  <Counter />
</span>

that component itself will not be remounted, but the <Counter/> element will be.

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