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

App5Angular: navigation to subroutes from browser not triggering ngOnInit #75

Open
alinatoader opened this issue Jul 25, 2019 · 0 comments

Comments

@alinatoader
Copy link

If OnInit is implemented by Subroute1 and Subroute2 components and you try to navigate there by changing the url in the browser (without reloading the page), the html is rendered correctly, but ngOnInit is not called.

This is working with @angular/router 5.2.3 and previous versions.

Have you faced this issue? Do you know how to make it work also with the latest version of @angular/router?

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

No branches or pull requests

1 participant