Skip to content

Commit d247ebe

Browse files
committed
chore: note
1 parent 744027c commit d247ebe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/router/src/experimental/router.spec.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ const childRawRecord: EXPERIMENTAL_RouteRecord_Matchable = {
104104
parent: parentRecord,
105105
}
106106

107+
// NOTE: this redirect is not needed, the router should match by default the child
108+
// and it's better to simply not name the route to make it non matchable with
109+
// the new router
107110
const parentWithRedirectRawRecord: EXPERIMENTAL_RouteRecord_Matchable = {
108111
name: 'parent-with-redirect',
109112
path: new MatcherPatternPathStatic('/parent-with-redirect'),

0 commit comments

Comments
 (0)