@tanstack/router-core 1.130.7 → 1.130.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1274,8 +1274,8 @@ class RouterCore {
1274
1274
  const gcTime = (d.preload ? route.options.preloadGcTime ?? this.options.defaultPreloadGcTime : route.options.gcTime ?? this.options.defaultGcTime) ?? 5 * 60 * 1e3;
1275
1275
  const isError = d.status === "error";
1276
1276
  if (isError) return true;
1277
- const isStale = Date.now() - d.updatedAt >= gcTime;
1278
- return isStale;
1277
+ const gcEligible = Date.now() - d.updatedAt >= gcTime;
1278
+ return gcEligible;
1279
1279
  };
1280
1280
  this.clearCache({ filter });
1281
1281
  };