react-router-dom-v5-compat 6.23.1-pre.0 → 6.23.1-pre.1
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/CHANGELOG.md +8 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/main.js +1 -1
- package/dist/umd/react-router-dom-v5-compat.development.js +2 -2
- package/dist/umd/react-router-dom-v5-compat.development.js.map +1 -1
- package/dist/umd/react-router-dom-v5-compat.production.min.js +2 -2
- package/dist/umd/react-router-dom-v5-compat.production.min.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* React Router DOM v5 Compat v6.23.1-pre.
|
|
2
|
+
* React Router DOM v5 Compat v6.23.1-pre.1
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -422,7 +422,7 @@ function RouterProvider(_ref) {
|
|
|
422
422
|
fetcherData.current.set(key, fetcher.data);
|
|
423
423
|
}
|
|
424
424
|
});
|
|
425
|
-
let isViewTransitionUnavailable = router.window == null || typeof router.window.document.startViewTransition !== "function";
|
|
425
|
+
let isViewTransitionUnavailable = router.window == null || router.window.document == null || typeof router.window.document.startViewTransition !== "function";
|
|
426
426
|
// If this isn't a view transition or it's not available in this browser,
|
|
427
427
|
// just update and be done with it
|
|
428
428
|
if (!viewTransitionOpts || isViewTransitionUnavailable) {
|