-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New best practice: event dispatching #224
Labels
Milestone
Comments
We should also mention that you should only await update complete after completing all the property updates. // INCORRECT
// do something
await this.updateComplete
// do more things
this.dispatchEvent
// CORRECT
// do something
// do more things
await this.updateComplete
this.dispatchEvent |
blackfalcon
added
the
not-reviewed
Issue has not been reviewed by Auro team members
label
Oct 13, 2021
braven112
removed
the
not-reviewed
Issue has not been reviewed by Auro team members
label
Dec 21, 2021
This issue is bound to AlaskaAirlines/auro-radio#26 |
blackfalcon
added
the
not-reviewed
Issue has not been reviewed by Auro team members
label
May 6, 2022
blackfalcon
added
auro-generator
and removed
not-reviewed
Issue has not been reviewed by Auro team members
labels
Jun 17, 2022
blackfalcon
added
not-reviewed
Issue has not been reviewed by Auro team members
and removed
Status: help wanted
labels
Jan 20, 2023
I have a feeling that we are doing this with the latest versions of new components. @jason-capsule42 can you validate? And if we are, let's document this pattern as a 'best practice' for new developer onboarding. |
jason-capsule42
removed
Type: Documentation
Documentation only changes
not-reviewed
Issue has not been reviewed by Auro team members
labels
Oct 27, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We ran into this issue with the valuetile. Code was listening to the
fareClick
event and expecting the attribute to be set. However, the attribute was not set until afterupdateComplete
.Code example from Lit docs:
Reference PR for the discovery of the use case
https://github.com/AlaskaAirlines/auro-valuetile/pull/31
The text was updated successfully, but these errors were encountered: