Skip to content

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

@alinatoader

Description

@alinatoader

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions