@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remix-run/router",
3
- "version": "1.7.2-pre.0",
3
+ "version": "1.7.2",
4
4
  "description": "Nested/Data-driven/Framework-agnostic Routing",
5
5
  "keywords": [
6
6
  "remix",
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);