Skip to content

Commit

Permalink
chore(router): fix future flags table (#10358)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeBoey committed Apr 17, 2023
1 parent dbc9ba3 commit 0ea6b71
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion docs/guides/api-development-strategy.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ The lifecycle is thus either:

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

| Flag | Description |
| Flag | Description |
| ------------------------ | --------------------------------------------------------------------- |
| `v7_normalizeFormMethod` | Normalize `useNavigation().formMethod` to be an uppercase HTTP Method |

[future-flags-blog-post]: https://remix.run/blog/future-flags
Expand Down
7 changes: 4 additions & 3 deletions packages/router/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,10 @@ By default, active loaders will revalidate after any navigation or fetcher mutat

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:

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

[react-router]: https://reactrouter.com
[remix]: https://remix.run
Expand Down

0 comments on commit 0ea6b71

Please sign in to comment.