@tanstack/react-router 0.0.1-beta.259 → 0.0.1-beta.260
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/build/cjs/router.js +3 -1
- package/build/cjs/router.js.map +1 -1
- package/build/esm/index.js +3 -1
- package/build/esm/index.js.map +1 -1
- package/build/stats-html.html +1 -1
- package/build/stats-react.json +353 -353
- package/build/umd/index.development.js +3 -1
- package/build/umd/index.development.js.map +1 -1
- package/build/umd/index.production.js +1 -1
- package/build/umd/index.production.js.map +1 -1
- package/package.json +2 -2
- package/src/router.ts +3 -0
|
@@ -2425,6 +2425,7 @@
|
|
|
2425
2425
|
pendingMatches: s.pendingMatches?.map(d => d.id === match.id ? match : d)
|
|
2426
2426
|
}));
|
|
2427
2427
|
};
|
|
2428
|
+
const abortController = new AbortController();
|
|
2428
2429
|
|
|
2429
2430
|
// Check each match middleware to see if the route can be accessed
|
|
2430
2431
|
try {
|
|
@@ -2449,7 +2450,8 @@
|
|
|
2449
2450
|
...match,
|
|
2450
2451
|
error: err,
|
|
2451
2452
|
status: 'error',
|
|
2452
|
-
updatedAt: Date.now()
|
|
2453
|
+
updatedAt: Date.now(),
|
|
2454
|
+
abortController
|
|
2453
2455
|
};
|
|
2454
2456
|
};
|
|
2455
2457
|
try {
|