@tanstack/react-router 1.52.3 → 1.52.4

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/react-router",
3
- "version": "1.52.3",
3
+ "version": "1.52.4",
4
4
  "description": "Modern and scalable routing for React applications",
5
5
  "author": "Tanner Linsley",
6
6
  "license": "MIT",
package/src/router.ts CHANGED
@@ -1643,11 +1643,6 @@ export class Router<
1643
1643
  load = async (): Promise<void> => {
1644
1644
  this.latestLocation = this.parseLocation(this.latestLocation)
1645
1645
 
1646
- this.__store.setState((s) => ({
1647
- ...s,
1648
- loadedAt: Date.now(),
1649
- }))
1650
-
1651
1646
  let redirect: ResolvedRedirect | undefined
1652
1647
  let notFound: NotFoundError | undefined
1653
1648
 
@@ -1738,6 +1733,7 @@ export class Router<
1738
1733
  return {
1739
1734
  ...s,
1740
1735
  isLoading: false,
1736
+ loadedAt: Date.now(),
1741
1737
  matches: newMatches,
1742
1738
  pendingMatches: undefined,
1743
1739
  cachedMatches: [