@tanstack/router-core 1.157.12 → 1.157.14

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/router-core",
3
- "version": "1.157.12",
3
+ "version": "1.157.14",
4
4
  "description": "Modern and scalable routing for React applications",
5
5
  "author": "Tanner Linsley",
6
6
  "license": "MIT",
@@ -389,13 +389,6 @@ const executeBeforeLoad = (
389
389
 
390
390
  const abortController = new AbortController()
391
391
 
392
- const parentMatchId = inner.matches[index - 1]?.id
393
- const parentMatch = parentMatchId
394
- ? inner.router.getMatch(parentMatchId)!
395
- : undefined
396
- const parentMatchContext =
397
- parentMatch?.context ?? inner.router.options.context ?? undefined
398
-
399
392
  let isPending = false
400
393
  const pending = () => {
401
394
  if (isPending) return
package/src/router.ts CHANGED
@@ -2487,7 +2487,8 @@ export class RouterCore<
2487
2487
  this.shouldViewTransition ?? this.options.defaultViewTransition
2488
2488
 
2489
2489
  // Reset the view transition flag
2490
- delete this.shouldViewTransition
2490
+ this.shouldViewTransition = undefined
2491
+
2491
2492
  // Attempt to start a view transition (or just apply the changes if we can't)
2492
2493
  if (
2493
2494
  shouldViewTransition &&