You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -203,7 +203,7 @@ We're really excited to release our new API for "Lazy Route Discovery" in `v6.24
203
203
204
204
With "Fog of War", you can now load portions of the route tree lazily via the new `unstable_patchRoutesOnMiss` option passed to `createBrowserRouter` (and it's memory/hash counterparts). This gives you a way to hook into spots where React Router is unable to match a given path and patch new routes into the route tree during the navigation (or fetcher call).
205
205
206
-
Here's a very small example, but please refer to the [documentation](https://reactrouter.com/en/main/routers/create-browser-router#unstable_patchroutesonmiss) for more information and use cases:
206
+
Here's a very small example, but please refer to the [documentation](https://reactrouter.com/en/main/routers/create-browser-router#optsunstable_patchroutesonmiss) for more information and use cases:
207
207
208
208
```js
209
209
constrouter=createBrowserRouter(
@@ -506,7 +506,7 @@ Per this [RFC](https://github.com/remix-run/remix/discussions/7698), we've intro
506
506
507
507
- You may now specify your own fetcher identifier via `useFetcher({ key: string })`, which allows you to access the same fetcher instance from different components in your application without prop-drilling
508
508
- Fetcher keys are now exposed on the fetchers returned from `useFetchers` so that they can be looked up by `key`
509
-
-`Form` and `useSumbit` now support optional `navigate`/`fetcherKey` props/params to allow kicking off a fetcher submission under the hood with an optionally user-specified `key`
509
+
-`Form` and `useSubmit` now support optional `navigate`/`fetcherKey` props/params to allow kicking off a fetcher submission under the hood with an optionally user-specified `key`
- Invoking a fetcher in this way is ephemeral and stateless
@@ -765,7 +765,7 @@ Date: 2023-06-14
765
765
766
766
`6.13.0` is really a patch release in spirit but comes with a SemVer minor bump since we added a new future flag.
767
767
768
-
#### v7_startTransition
768
+
#### `future.v7_startTransition`
769
769
770
770
The **tl;dr;** is that `6.13.0` is the same as [`6.12.0`](https://github.com/remix-run/react-router/releases/tag/react-router%406.12.0) bue we've moved the usage of `React.startTransition` behind an opt-in `future.v7_startTransition`[future flag](https://reactrouter.com/en/main/guides/api-development-strategy) because we found that there are applications in the wild that are currently using `Suspense` in ways that are incompatible with `React.startTransition`.
771
771
@@ -918,7 +918,7 @@ You can also check out the docs [here](https://reactrouter.com/en/dev/guides/api
918
918
919
919
### Minor Changes
920
920
921
-
#### future.v7_normalizeFormMethod
921
+
#### `future.v7_normalizeFormMethod`
922
922
923
923
The first future flag being introduced is `future.v7_normalizeFormMethod` which will normalize the exposed `useNavigation()/useFetcher()``formMethod` fields as uppercase HTTP methods to align with the `fetch()` (and some Remix) behavior. ([#10207](https://github.com/remix-run/react-router/pull/10207))
0 commit comments