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 a8c786c commit 85b34a7Copy full SHA for 85b34a7
1 file changed
packages/router-core/src/router.ts
@@ -1070,6 +1070,7 @@ export class RouterCore<
1070
let processRouteTreeResult: ProcessRouteTreeResult<TRouteTree>
1071
if (
1072
(isServer ?? this.isServer) &&
1073
+ process.env.NODE_ENV !== 'development' &&
1074
globalThis.__TSR_CACHE__ &&
1075
globalThis.__TSR_CACHE__.routeTree === this.routeTree
1076
) {
@@ -1082,6 +1083,7 @@ export class RouterCore<
1082
1083
// only cache if nothing else is cached yet
1084
1085
1086
1087
globalThis.__TSR_CACHE__ === undefined
1088
1089
globalThis.__TSR_CACHE__ = {
0 commit comments