Skip to content
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

fix: await lifecycle hooks as they might return promises #56

Merged
merged 1 commit into from
Jun 23, 2022
Merged

Conversation

danez
Copy link
Contributor

@danez danez commented Jun 23, 2022

The lifecycle hooks can return a Promise according to the TS types. In order to not get out of order execution we should await them.

A picture of a cute animal (not mandatory but encouraged)
top-ten-cutest-japanese-wild-animals

@danez danez added the type: bug code to address defects in shipped code label Jun 23, 2022
@danez danez requested a review from a team June 23, 2022 09:54
@danez danez merged commit 01b53c6 into main Jun 23, 2022
@danez danez deleted the awaitme branch June 23, 2022 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug code to address defects in shipped code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants