react-router 6.26.2 → 6.27.0-pre.0
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 +18 -0
- package/dist/index.d.ts +6 -6
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/lib/context.d.ts +2 -2
- 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/lib/context.d.ts
CHANGED
|
@@ -59,8 +59,8 @@ export interface NavigateOptions {
|
|
|
59
59
|
state?: any;
|
|
60
60
|
preventScrollReset?: boolean;
|
|
61
61
|
relative?: RelativeRoutingType;
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
flushSync?: boolean;
|
|
63
|
+
viewTransition?: boolean;
|
|
64
64
|
}
|
|
65
65
|
/**
|
|
66
66
|
* A Navigator is a "location changer"; it's how you get to different locations.
|
package/dist/main.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* React Router v6.
|
|
2
|
+
* React Router v6.27.0-pre.0
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -1354,8 +1354,8 @@ function createMemoryRouter(routes, opts) {
|
|
|
1354
1354
|
hydrationData: opts?.hydrationData,
|
|
1355
1355
|
routes,
|
|
1356
1356
|
mapRouteProperties,
|
|
1357
|
-
|
|
1358
|
-
|
|
1357
|
+
dataStrategy: opts?.dataStrategy,
|
|
1358
|
+
patchRoutesOnNavigation: opts?.patchRoutesOnNavigation
|
|
1359
1359
|
}).initialize();
|
|
1360
1360
|
}
|
|
1361
1361
|
|