Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

routerLink can't set href to components defined in child router #104

@twhitbeck

Description

@twhitbeck

I set up an example of this at https://github.com/twhitbeck/nested-router-example.

The href for the links to components one and two are .undefined/one and .undefined/two.

The problem is that routerLink is attempting to build the href url from parent router's previousSegment property which isn't set until finishNavigating is called.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions