@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/package.json
CHANGED
package/router.ts
CHANGED
|
@@ -1525,7 +1525,10 @@ export function createRouter(init: RouterInit): Router {
|
|
|
1525
1525
|
|
|
1526
1526
|
let routesToUse = inFlightDataRoutes || dataRoutes;
|
|
1527
1527
|
let loadingNavigation = opts && opts.overrideNavigation;
|
|
1528
|
-
let matches =
|
|
1528
|
+
let matches =
|
|
1529
|
+
isUninterruptedRevalidation && inFlightDataRoutes == null
|
|
1530
|
+
? state.matches
|
|
1531
|
+
: matchRoutes(routesToUse, location, basename);
|
|
1529
1532
|
let flushSync = (opts && opts.flushSync) === true;
|
|
1530
1533
|
|
|
1531
1534
|
let fogOfWar = checkFogOfWar(matches, routesToUse, location.pathname);
|