@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.
@@ -1272,8 +1272,8 @@ class RouterCore {
1272
1272
  const gcTime = (d.preload ? route.options.preloadGcTime ?? this.options.defaultPreloadGcTime : route.options.gcTime ?? this.options.defaultGcTime) ?? 5 * 60 * 1e3;
1273
1273
  const isError = d.status === "error";
1274
1274
  if (isError) return true;
1275
- const isStale = Date.now() - d.updatedAt >= gcTime;
1276
- return isStale;
1275
+ const gcEligible = Date.now() - d.updatedAt >= gcTime;
1276
+ return gcEligible;
1277
1277
  };
1278
1278
  this.clearCache({ filter });
1279
1279
  };