Skip to content

[alignment with standards] refactor AOM properties to be surfaced via ElementInternals #717

@caridy

Description

@caridy

Description

Today, we are exposing AOM properties via this.template, this is changing in the spec, and it now will be exposed via createdCallback, who receives an argument internals (instance of ElementInternals). Changes are fairly simple in LWC, but there are some users using AOM properties from template that might get affected by this. Maybe we can keep both references for now, until this settles after 218.

Additionally, the introduction of the new hook is also important, which means that they now have the ability to do things right after the constructor finishes. I'm not entirely sure about the semantics of this hook.

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