@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/package.json
CHANGED
package/router.ts
CHANGED
|
@@ -1500,6 +1500,8 @@ export function createRouter(init: RouterInit): Router {
|
|
|
1500
1500
|
(matchesToLoad && matchesToLoad.some((m) => m.route.id === routeId))
|
|
1501
1501
|
);
|
|
1502
1502
|
|
|
1503
|
+
pendingNavigationLoadId = ++incrementingLoadId;
|
|
1504
|
+
|
|
1503
1505
|
// Short circuit if we have no loaders to run
|
|
1504
1506
|
if (matchesToLoad.length === 0 && revalidatingFetchers.length === 0) {
|
|
1505
1507
|
let updatedFetchers = markFetchRedirectsDone();
|
|
@@ -1541,7 +1543,6 @@ export function createRouter(init: RouterInit): Router {
|
|
|
1541
1543
|
});
|
|
1542
1544
|
}
|
|
1543
1545
|
|
|
1544
|
-
pendingNavigationLoadId = ++incrementingLoadId;
|
|
1545
1546
|
revalidatingFetchers.forEach((rf) => {
|
|
1546
1547
|
if (fetchControllers.has(rf.key)) {
|
|
1547
1548
|
abortFetcher(rf.key);
|