@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/dist/router.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @remix-run/router v1.7.2-pre.0
2
+ * @remix-run/router v1.7.2
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -1819,6 +1819,7 @@ function createRouter(init) {
1819
1819
  // about to reload. Note that if this is an action reload we would have
1820
1820
  // already cancelled all pending deferreds so this would be a no-op
1821
1821
  cancelActiveDeferreds(routeId => !(matches && matches.some(m => m.route.id === routeId)) || matchesToLoad && matchesToLoad.some(m => m.route.id === routeId));
1822
+ pendingNavigationLoadId = ++incrementingLoadId;
1822
1823
  // Short circuit if we have no loaders to run
1823
1824
  if (matchesToLoad.length === 0 && revalidatingFetchers.length === 0) {
1824
1825
  let updatedFetchers = markFetchRedirectsDone();
@@ -1857,7 +1858,6 @@ function createRouter(init) {
1857
1858
  fetchers: new Map(state.fetchers)
1858
1859
  } : {}));
1859
1860
  }
1860
- pendingNavigationLoadId = ++incrementingLoadId;
1861
1861
  revalidatingFetchers.forEach(rf => {
1862
1862
  if (fetchControllers.has(rf.key)) {
1863
1863
  abortFetcher(rf.key);