Skip to content

Commit e1c71cb

Browse files
committed
Merge branch 'dev' into brophdawg11/opt-out-serialization
2 parents 046bca4 + 95a295c commit e1c71cb

File tree

5 files changed

+6
-18
lines changed

5 files changed

+6
-18
lines changed

docs/guides/api-development-strategy.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ The lifecycle is thus either:
5151

5252
Here's the current future flags in React Router v6 today:
5353

54-
| Flag | Description |
54+
| Flag | Description |
55+
| ------------------------ | --------------------------------------------------------------------- |
5556
| `v7_normalizeFormMethod` | Normalize `useNavigation().formMethod` to be an uppercase HTTP Method |
5657

5758
[future-flags-blog-post]: https://remix.run/blog/future-flags

examples/data-router/src/app.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@ import type { ActionFunctionArgs, LoaderFunctionArgs } from "react-router-dom";
33
import {
44
Await,
55
createBrowserRouter,
6-
createRoutesFromElements,
76
defer,
87
Form,
98
Link,
109
Outlet,
11-
Route,
1210
RouterProvider,
1311
useAsyncError,
1412
useAsyncValue,

packages/react-router-dom/__tests__/data-browser-router-test.tsx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5663,14 +5663,3 @@ function getHtml(container: HTMLElement) {
56635663
},
56645664
});
56655665
}
5666-
5667-
async function waitForRouterInitialize(router) {
5668-
return await new Promise((resolve) => {
5669-
let unsubscribe = router.subscribe((updatedState) => {
5670-
if (updatedState.initialized) {
5671-
unsubscribe();
5672-
resolve(router);
5673-
}
5674-
});
5675-
});
5676-
}

packages/react-router-dom/server.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import type {
66
StaticHandlerContext,
77
CreateStaticHandlerOptions as RouterCreateStaticHandlerOptions,
88
UNSAFE_RouteManifest as RouteManifest,
9-
FutureConfig,
109
} from "@remix-run/router";
1110
import {
1211
IDLE_BLOCKER,

packages/router/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,10 @@ By default, active loaders will revalidate after any navigation or fetcher mutat
122122

123123
We use _Future Flags_ in the router to help us introduce breaking changes in an opt-in fashion ahead of major releases. Please check out the [blog post][future-flags-post] and [React Router Docs][api-development-strategy] for more information on this process. The currently available future flags in `@remix-run/router` are:
124124

125-
| Flag | Description |
126-
| `v7_normalizeFormMethod` | Normalize `useNavigation().formMethod` to be an uppercase HTTP Method |
127-
| `v7_prependBasename` | Prepend the `basename` to incoming `router.navigate`/`router.fetch` paths |
125+
| Flag | Description |
126+
| ------------------------ | ------------------------------------------------------------------------- |
127+
| `v7_normalizeFormMethod` | Normalize `useNavigation().formMethod` to be an uppercase HTTP Method |
128+
| `v7_prependBasename` | Prepend the `basename` to incoming `router.navigate`/`router.fetch` paths |
128129

129130
[react-router]: https://reactrouter.com
130131
[remix]: https://remix.run

0 commit comments

Comments
 (0)