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 router before mounting the app #93

Merged
merged 1 commit into from
Oct 20, 2019

Conversation

svewag
Copy link
Contributor

@svewag svewag commented Apr 11, 2019

in order to wait for async calls during router navigation, e.g.
beforeenter

in order to wait for async calls during router navigation, e.g.
beforeenter
@svewag
Copy link
Contributor Author

svewag commented Apr 11, 2019

Hey @JohannesLamberts, I created a PR from our investigation this morning. Feel free to give some feedback :-)

@JohannesLamberts
Copy link

Hey @JohannesLamberts, I created a PR from our investigation this morning. Feel free to give some feedback :-)

Yeah, that was tricky to find. Would be great to have the router.onReady in the generator, since the problem first pops up when routes can't be synchronously resolved, which can be confusing.

@dennisreimann
Copy link

Just to provide some feedback and help getting it merged: This is working for us too. Thanks! 🍰

@Akryum Akryum merged commit a638c71 into Akryum:master Oct 20, 2019
@Akryum
Copy link
Owner

Akryum commented Oct 20, 2019

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants