-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
Contributions WelcomeIssues that we would accept a PR forIssues that we would accept a PR for
Description
Should this be an RFC?
- This is not a substantial change
Which package is this a feature request for?
Lit Core (lit / lit-html / lit-element / reactive-element)
Description
How hard would it be to add a lifecycle method or promise that lets us know:
- when all defined LitElements that are descendants of
thisLitElement have been rendered and - are also in an
updateCompletestate?
Alternatives and Workarounds
Running into this issue has made me more aware that LitElements are basically async which is why statefulness is more-or-less required. However, standard HTML is rendered and ready (from a code standpoint) after it has been appended to the DOM, and offering this promise would allow interoperability with that modality of working with elements and DOM trees.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Contributions WelcomeIssues that we would accept a PR forIssues that we would accept a PR for
Type
Projects
Status
📋 Triaged