@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.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 +4 -1
package/dist/router.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @remix-run/router v0.0.0-experimental-
|
|
2
|
+
* @remix-run/router v0.0.0-experimental-bcda00aaf
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -2314,7 +2314,7 @@ function createRouter(init) {
|
|
|
2314
2314
|
pendingViewTransitionEnabled = (opts && opts.enableViewTransition) === true;
|
|
2315
2315
|
let routesToUse = inFlightDataRoutes || dataRoutes;
|
|
2316
2316
|
let loadingNavigation = opts && opts.overrideNavigation;
|
|
2317
|
-
let matches = matchRoutes(routesToUse, location, basename);
|
|
2317
|
+
let matches = isUninterruptedRevalidation && inFlightDataRoutes == null ? state.matches : matchRoutes(routesToUse, location, basename);
|
|
2318
2318
|
let flushSync = (opts && opts.flushSync) === true;
|
|
2319
2319
|
let fogOfWar = checkFogOfWar(matches, routesToUse, location.pathname);
|
|
2320
2320
|
if (fogOfWar.active && fogOfWar.matches) {
|