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: invoke initialNavigation when a router is injected #286

Merged
merged 1 commit into from
Feb 25, 2022

Conversation

timdeschryver
Copy link
Member

Fixes #280

cc @meirka


const router = inject(Router);
router?.initialNavigation();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see, thanks!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will be available when the PR is merged (now) 😀

@meirka
Copy link
Contributor

meirka commented Feb 25, 2022

Which release will be available in?

@timdeschryver timdeschryver merged commit d758b94 into main Feb 25, 2022
@timdeschryver timdeschryver deleted the initialNavigation branch February 25, 2022 18:28
@github-actions
Copy link

🎉 This PR is included in version 11.0.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

Bug with location.back()
2 participants