@remix-run/router 1.7.2-pre.0 → 1.7.2
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/CHANGELOG.md +2 -2
- package/dist/router.cjs.js +2 -2
- package/dist/router.cjs.js.map +1 -1
- package/dist/router.js +2 -2
- package/dist/router.js.map +1 -1
- package/dist/router.umd.js +2 -2
- package/dist/router.umd.js.map +1 -1
- package/dist/router.umd.min.js +2 -2
- package/dist/router.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/router.ts +2 -1
package/dist/router.umd.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @remix-run/router v1.7.2
|
|
2
|
+
* @remix-run/router v1.7.2
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -2197,6 +2197,7 @@
|
|
|
2197
2197
|
// about to reload. Note that if this is an action reload we would have
|
|
2198
2198
|
// already cancelled all pending deferreds so this would be a no-op
|
|
2199
2199
|
cancelActiveDeferreds(routeId => !(matches && matches.some(m => m.route.id === routeId)) || matchesToLoad && matchesToLoad.some(m => m.route.id === routeId));
|
|
2200
|
+
pendingNavigationLoadId = ++incrementingLoadId;
|
|
2200
2201
|
|
|
2201
2202
|
// Short circuit if we have no loaders to run
|
|
2202
2203
|
if (matchesToLoad.length === 0 && revalidatingFetchers.length === 0) {
|
|
@@ -2237,7 +2238,6 @@
|
|
|
2237
2238
|
fetchers: new Map(state.fetchers)
|
|
2238
2239
|
} : {}));
|
|
2239
2240
|
}
|
|
2240
|
-
pendingNavigationLoadId = ++incrementingLoadId;
|
|
2241
2241
|
revalidatingFetchers.forEach(rf => {
|
|
2242
2242
|
if (fetchControllers.has(rf.key)) {
|
|
2243
2243
|
abortFetcher(rf.key);
|