Skip to content

Commit 19e6398

Browse files
committed
Add v7_relativeSplatPath to createBrowserRouter docs
1 parent 5567158 commit 19e6398

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

docs/routers/create-browser-router.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,12 +116,13 @@ const router = createBrowserRouter(routes, {
116116

117117
The following future flags are currently available:
118118

119-
| Flag | Description |
120-
| ------------------------ | --------------------------------------------------------------------- |
121-
| `v7_fetcherPersist` | Delay active fetcher cleanup until they return to an `idle` state |
122-
| `v7_normalizeFormMethod` | Normalize `useNavigation().formMethod` to be an uppercase HTTP Method |
123-
| `v7_partialHydration` | Support partial hydration for Server-rendered apps |
124-
| `v7_prependBasename` | Prepend the router basename to navigate/fetch paths |
119+
| Flag | Description |
120+
| ------------------------------------------- | --------------------------------------------------------------------- |
121+
| `v7_fetcherPersist` | Delay active fetcher cleanup until they return to an `idle` state |
122+
| `v7_normalizeFormMethod` | Normalize `useNavigation().formMethod` to be an uppercase HTTP Method |
123+
| `v7_partialHydration` | Support partial hydration for Server-rendered apps |
124+
| `v7_prependBasename` | Prepend the router basename to navigate/fetch paths |
125+
| [`v7_relativeSplatPath`][relativesplatpath] | Fix buggy relative path resolution in splat routes |
125126

126127
## `hydrationData`
127128

@@ -197,3 +198,4 @@ Useful for environments like browser devtool plugins or testing to use a differe
197198
[query]: ./create-static-handler#handlerqueryrequest-opts
198199
[clientloader]: https://remix.run/route/client-loader
199200
[hydratefallback]: ../route/hydrate-fallback-element
201+
[relativesplatpath]: ../hooks/use-resolved-path#splat-paths

0 commit comments

Comments
 (0)