react-router 0.0.0-experimental-1d760f6a6 → 0.0.0-experimental-701a32801
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/development/{chunk-QBMD7MNB.mjs → chunk-U5EFOURB.mjs} +4 -3
- package/dist/development/dom-export.js +3 -2
- package/dist/development/dom-export.mjs +2 -2
- package/dist/development/index.js +4 -3
- package/dist/development/index.mjs +2 -2
- package/dist/development/lib/types/route-module.js +1 -1
- package/dist/development/lib/types/route-module.mjs +1 -1
- package/dist/production/{chunk-DSJGM2GU.mjs → chunk-HS7MHK7W.mjs} +4 -3
- package/dist/production/dom-export.js +3 -2
- package/dist/production/dom-export.mjs +2 -2
- package/dist/production/index.js +4 -3
- package/dist/production/index.mjs +2 -2
- package/dist/production/lib/types/route-module.js +1 -1
- package/dist/production/lib/types/route-module.mjs +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-701a32801
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -6525,7 +6525,8 @@ async function singleFetchLoaderNavigationStrategy(args, router, getRouteInfo, f
|
|
|
6525
6525
|
)
|
|
6526
6526
|
);
|
|
6527
6527
|
await Promise.all(routeDfds.map((d) => d.promise));
|
|
6528
|
-
|
|
6528
|
+
let isInitialLoad = !router.state.initialized && router.state.navigation.state === "idle";
|
|
6529
|
+
if ((isInitialLoad || routesParams.size === 0) && !window.__reactRouterHdrActive) {
|
|
6529
6530
|
singleFetchDfd.resolve({ routes: {} });
|
|
6530
6531
|
} else {
|
|
6531
6532
|
let targetRoutes = ssr && foundOptOutRoute && routesParams.size > 0 ? [...routesParams.keys()] : void 0;
|
|
@@ -7941,7 +7942,7 @@ function mergeRefs(...refs) {
|
|
|
7941
7942
|
var isBrowser = typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined";
|
|
7942
7943
|
try {
|
|
7943
7944
|
if (isBrowser) {
|
|
7944
|
-
window.__reactRouterVersion = "0.0.0-experimental-
|
|
7945
|
+
window.__reactRouterVersion = "0.0.0-experimental-701a32801";
|
|
7945
7946
|
}
|
|
7946
7947
|
} catch (e) {
|
|
7947
7948
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-701a32801
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -4982,7 +4982,8 @@ async function singleFetchLoaderNavigationStrategy(args, router2, getRouteInfo,
|
|
|
4982
4982
|
)
|
|
4983
4983
|
);
|
|
4984
4984
|
await Promise.all(routeDfds.map((d) => d.promise));
|
|
4985
|
-
|
|
4985
|
+
let isInitialLoad = !router2.state.initialized && router2.state.navigation.state === "idle";
|
|
4986
|
+
if ((isInitialLoad || routesParams.size === 0) && !window.__reactRouterHdrActive) {
|
|
4986
4987
|
singleFetchDfd.resolve({ routes: {} });
|
|
4987
4988
|
} else {
|
|
4988
4989
|
let targetRoutes = ssr && foundOptOutRoute && routesParams.size > 0 ? [...routesParams.keys()] : void 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-701a32801
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
invariant,
|
|
26
26
|
mapRouteProperties,
|
|
27
27
|
useFogOFWarDiscovery
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-U5EFOURB.mjs";
|
|
29
29
|
|
|
30
30
|
// lib/dom-export/dom-router-provider.tsx
|
|
31
31
|
import * as React from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-701a32801
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -6675,7 +6675,8 @@ async function singleFetchLoaderNavigationStrategy(args, router, getRouteInfo, f
|
|
|
6675
6675
|
)
|
|
6676
6676
|
);
|
|
6677
6677
|
await Promise.all(routeDfds.map((d) => d.promise));
|
|
6678
|
-
|
|
6678
|
+
let isInitialLoad = !router.state.initialized && router.state.navigation.state === "idle";
|
|
6679
|
+
if ((isInitialLoad || routesParams.size === 0) && !window.__reactRouterHdrActive) {
|
|
6679
6680
|
singleFetchDfd.resolve({ routes: {} });
|
|
6680
6681
|
} else {
|
|
6681
6682
|
let targetRoutes = ssr && foundOptOutRoute && routesParams.size > 0 ? [...routesParams.keys()] : void 0;
|
|
@@ -8091,7 +8092,7 @@ function mergeRefs(...refs) {
|
|
|
8091
8092
|
var isBrowser = typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined";
|
|
8092
8093
|
try {
|
|
8093
8094
|
if (isBrowser) {
|
|
8094
|
-
window.__reactRouterVersion = "0.0.0-experimental-
|
|
8095
|
+
window.__reactRouterVersion = "0.0.0-experimental-701a32801";
|
|
8095
8096
|
}
|
|
8096
8097
|
} catch (e) {
|
|
8097
8098
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-701a32801
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -125,7 +125,7 @@ import {
|
|
|
125
125
|
useSearchParams,
|
|
126
126
|
useSubmit,
|
|
127
127
|
useViewTransitionState
|
|
128
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-U5EFOURB.mjs";
|
|
129
129
|
export {
|
|
130
130
|
Await,
|
|
131
131
|
BrowserRouter,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-701a32801
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -6525,7 +6525,8 @@ async function singleFetchLoaderNavigationStrategy(args, router, getRouteInfo, f
|
|
|
6525
6525
|
)
|
|
6526
6526
|
);
|
|
6527
6527
|
await Promise.all(routeDfds.map((d) => d.promise));
|
|
6528
|
-
|
|
6528
|
+
let isInitialLoad = !router.state.initialized && router.state.navigation.state === "idle";
|
|
6529
|
+
if ((isInitialLoad || routesParams.size === 0) && !window.__reactRouterHdrActive) {
|
|
6529
6530
|
singleFetchDfd.resolve({ routes: {} });
|
|
6530
6531
|
} else {
|
|
6531
6532
|
let targetRoutes = ssr && foundOptOutRoute && routesParams.size > 0 ? [...routesParams.keys()] : void 0;
|
|
@@ -7941,7 +7942,7 @@ function mergeRefs(...refs) {
|
|
|
7941
7942
|
var isBrowser = typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined";
|
|
7942
7943
|
try {
|
|
7943
7944
|
if (isBrowser) {
|
|
7944
|
-
window.__reactRouterVersion = "0.0.0-experimental-
|
|
7945
|
+
window.__reactRouterVersion = "0.0.0-experimental-701a32801";
|
|
7945
7946
|
}
|
|
7946
7947
|
} catch (e) {
|
|
7947
7948
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-701a32801
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -4982,7 +4982,8 @@ async function singleFetchLoaderNavigationStrategy(args, router2, getRouteInfo,
|
|
|
4982
4982
|
)
|
|
4983
4983
|
);
|
|
4984
4984
|
await Promise.all(routeDfds.map((d) => d.promise));
|
|
4985
|
-
|
|
4985
|
+
let isInitialLoad = !router2.state.initialized && router2.state.navigation.state === "idle";
|
|
4986
|
+
if ((isInitialLoad || routesParams.size === 0) && !window.__reactRouterHdrActive) {
|
|
4986
4987
|
singleFetchDfd.resolve({ routes: {} });
|
|
4987
4988
|
} else {
|
|
4988
4989
|
let targetRoutes = ssr && foundOptOutRoute && routesParams.size > 0 ? [...routesParams.keys()] : void 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-701a32801
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
invariant,
|
|
26
26
|
mapRouteProperties,
|
|
27
27
|
useFogOFWarDiscovery
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-HS7MHK7W.mjs";
|
|
29
29
|
|
|
30
30
|
// lib/dom-export/dom-router-provider.tsx
|
|
31
31
|
import * as React from "react";
|
package/dist/production/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-701a32801
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -6675,7 +6675,8 @@ async function singleFetchLoaderNavigationStrategy(args, router, getRouteInfo, f
|
|
|
6675
6675
|
)
|
|
6676
6676
|
);
|
|
6677
6677
|
await Promise.all(routeDfds.map((d) => d.promise));
|
|
6678
|
-
|
|
6678
|
+
let isInitialLoad = !router.state.initialized && router.state.navigation.state === "idle";
|
|
6679
|
+
if ((isInitialLoad || routesParams.size === 0) && !window.__reactRouterHdrActive) {
|
|
6679
6680
|
singleFetchDfd.resolve({ routes: {} });
|
|
6680
6681
|
} else {
|
|
6681
6682
|
let targetRoutes = ssr && foundOptOutRoute && routesParams.size > 0 ? [...routesParams.keys()] : void 0;
|
|
@@ -8091,7 +8092,7 @@ function mergeRefs(...refs) {
|
|
|
8091
8092
|
var isBrowser = typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined";
|
|
8092
8093
|
try {
|
|
8093
8094
|
if (isBrowser) {
|
|
8094
|
-
window.__reactRouterVersion = "0.0.0-experimental-
|
|
8095
|
+
window.__reactRouterVersion = "0.0.0-experimental-701a32801";
|
|
8095
8096
|
}
|
|
8096
8097
|
} catch (e) {
|
|
8097
8098
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-701a32801
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -125,7 +125,7 @@ import {
|
|
|
125
125
|
useSearchParams,
|
|
126
126
|
useSubmit,
|
|
127
127
|
useViewTransitionState
|
|
128
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-HS7MHK7W.mjs";
|
|
129
129
|
export {
|
|
130
130
|
Await,
|
|
131
131
|
BrowserRouter,
|