We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa294cc commit daf4e70Copy full SHA for daf4e70
packages/router-core/src/router.ts
@@ -1368,7 +1368,7 @@ export class RouterCore<
1368
}
1369
1370
/** a cache of parsed routes for `parsePathname` (e.g. `/foo/$bar` => Array<Segment>) */
1371
- private parseRouteCache: ParseRouteCache = createLRUCache(500)
+ private parseRouteCache: ParseRouteCache = new Map()
1372
/** a cache of parsed pathnames for `parsePathname` (e.g. `/foo/123` => Array<string>) */
1373
private parsePathCache: ParsePathCache = createLRUCache(500)
1374
0 commit comments