Skip to content
Source
Sign inSign up
TanStack/router

fix(router-core): _strictParams and path defining characters #5135

Mergednlynzaad(GitHub profile, opens in a new tab)merged 5 commits intomain fromrefs/pull/5135/headmerged by nlynzaad(GitHub profile, opens in a new tab)

Showing 13 changed files with 32 additions and 2 deletions (loading 8).

x
0 of 13 viewed, 13 left
e2e/react-router/basic-file-based/src/routeTree.gen.tsModified
View file
10 additions and 2 deletionse2e/react-router/basic-file-based/src/routes/params-ps/index.tsxModified
View file
@@ -1,5 +1,4 @@
-import { createFileRoute } from '@tanstack/react-router'
-import { Link } from '@tanstack/react-router'
+import { Link, createFileRoute } from '@tanstack/react-router'
​
export const Route = createFileRoute('/params-ps/')({
component: RouteComponent,
@@ -69,6 +68,15 @@
</Link>
</li>
</ul>
+ <hr />
+ <h3 className="pb-2">Non-nested path params</h3>
+ <ul className="grid mb-2">
+ <li>
+ <Link data-testid="l-to-non-nested" to="/params-ps/non-nested">
+ Non-nested
+ </Link>
+ </li>
+ </ul>
</div>