-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
discussionThis problem still needs more feedbackThis problem still needs more feedback
Description
Version
4.0.0-rc.3
Reproduction link
https://codesandbox.io/s/bitter-dew-ie45g?file=/src/router/index.ts
Steps to reproduce
Check the link and open the console to see the output of all registered routes. Check the last object's children.
What is expected?
All dynamically added routes should be added to the Preview's route children array. Since I am adding them to that exact route.
What is actually happening?
Preview-First and Preview-Second are not getting added as child but as root routes with the path pointing to the correct location.
The children array of Preview does contain only the one added in the beginning via the routes array.
Metadata
Metadata
Assignees
Labels
discussionThis problem still needs more feedbackThis problem still needs more feedback