Skip to content
This repository was archived by the owner on Sep 18, 2023. It is now read-only.

no-dom-traversal-in-attributechangedcallback recommendation conflicts with no-dom-traversal-in-connectedcallback #46

Closed
@khiga8

Description

@khiga8

no-dom-traversal-in-attributechangedcallback.md states:

It is instead preferable to move such DOM traversals away from attributeChangedCallback, using one of the following:

  • move traversals to connectedCallback

This seems to conflict with no-dom-traversal-in-connectedcallback.md which states Traversing the DOM during the connectedCallback phase is error-prone, which confuses me. it would be helpful to clarify this.

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