react-router 6.26.0 → 6.26.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.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/main.js +1 -1
- package/dist/react-router.development.js +3 -3
- package/dist/react-router.development.js.map +1 -1
- package/dist/react-router.production.min.js +2 -2
- package/dist/react-router.production.min.js.map +1 -1
- package/dist/umd/react-router.development.js +3 -3
- package/dist/umd/react-router.development.js.map +1 -1
- package/dist/umd/react-router.production.min.js +2 -2
- package/dist/umd/react-router.production.min.js.map +1 -1
- package/package.json +3 -3
package/dist/main.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* React Router v6.26.
|
|
2
|
+
* React Router v6.26.1
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -488,7 +488,7 @@ function _renderMatches(matches, parentMatches = [], dataRouterState = null, fut
|
|
|
488
488
|
matches = dataRouterState.matches;
|
|
489
489
|
} else if (future?.v7_partialHydration && parentMatches.length === 0 && !dataRouterState.initialized && dataRouterState.matches.length > 0) {
|
|
490
490
|
// Don't bail if we're initializing with partial hydration and we have
|
|
491
|
-
// router matches. That means we're actively running `
|
|
491
|
+
// router matches. That means we're actively running `patchRoutesOnNavigation`
|
|
492
492
|
// so we should render down the partial matches to the appropriate
|
|
493
493
|
// `HydrateFallback`. We only do this if `parentMatches` is empty so it
|
|
494
494
|
// only impacts the root matches for `RouterProvider` and no descendant
|
|
@@ -1355,7 +1355,7 @@ function createMemoryRouter(routes, opts) {
|
|
|
1355
1355
|
routes,
|
|
1356
1356
|
mapRouteProperties,
|
|
1357
1357
|
unstable_dataStrategy: opts?.unstable_dataStrategy,
|
|
1358
|
-
|
|
1358
|
+
unstable_patchRoutesOnNavigation: opts?.unstable_patchRoutesOnNavigation
|
|
1359
1359
|
}).initialize();
|
|
1360
1360
|
}
|
|
1361
1361
|
|