Skip to content

children named routes and empty path not rerendering #822

@nicolas-t

Description

@nicolas-t

Hello !

found another bug related to children routes and empty paths.

On this jsFiddle:
https://jsfiddle.net/p7uk1pbv/6/
click the 3 links in the jsfiddle one after another in the order: 1, 2, 3

  • (1) renders UserProfile as expected
  • (2) renders UserPosts as expected
  • (3) doesn't render UserProfile

note that (1) and (3) are 'exact' same routes but they don't render the same children components

you have to click (2) between (1) and (3) in order to make the bug reproducible

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions