]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
chore: note
authorEduardo San Martin Morote <posva13@gmail.com>
Sat, 18 Oct 2025 08:56:50 +0000 (10:56 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Sat, 18 Oct 2025 08:56:50 +0000 (10:56 +0200)
packages/router/src/experimental/router.spec.ts

index 2c44b759cce24c8215b00a0c755e1e1a72927075..a615562c25ce126558a7d5b09a4e7b8574558f46 100644 (file)
@@ -104,6 +104,9 @@ const childRawRecord: EXPERIMENTAL_RouteRecord_Matchable = {
   parent: parentRecord,
 }
 
+// NOTE: this redirect is not needed, the router should match by default the child
+// and it's better to simply not name the route to make it non matchable with
+// the new router
 const parentWithRedirectRawRecord: EXPERIMENTAL_RouteRecord_Matchable = {
   name: 'parent-with-redirect',
   path: new MatcherPatternPathStatic('/parent-with-redirect'),