@remix-run/router 0.0.0-experimental-73fcb9b28 → 0.0.0-experimental-bcda00aaf

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 v0.0.0-experimental-73fcb9b28
2
+ * @remix-run/router v0.0.0-experimental-bcda00aaf
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -1914,7 +1914,7 @@ function createRouter(init) {
1914
1914
  pendingViewTransitionEnabled = (opts && opts.enableViewTransition) === true;
1915
1915
  let routesToUse = inFlightDataRoutes || dataRoutes;
1916
1916
  let loadingNavigation = opts && opts.overrideNavigation;
1917
- let matches = matchRoutes(routesToUse, location, basename);
1917
+ let matches = isUninterruptedRevalidation && inFlightDataRoutes == null ? state.matches : matchRoutes(routesToUse, location, basename);
1918
1918
  let flushSync = (opts && opts.flushSync) === true;
1919
1919
  let fogOfWar = checkFogOfWar(matches, routesToUse, location.pathname);
1920
1920
  if (fogOfWar.active && fogOfWar.matches) {