From d247ebe5da9c969c5418222d0d5b4159d44b9cd9 Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Sat, 18 Oct 2025 10:56:50 +0200 Subject: [PATCH] chore: note --- packages/router/src/experimental/router.spec.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/router/src/experimental/router.spec.ts b/packages/router/src/experimental/router.spec.ts index 2c44b759..a615562c 100644 --- a/packages/router/src/experimental/router.spec.ts +++ b/packages/router/src/experimental/router.spec.ts @@ -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'), -- 2.47.3