Skip to content

Commit 0cf792e

Browse files
committed
Update release notes
1 parent d5d36c5 commit 0cf792e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,8 @@ The existing low-level `DataStrategyMatch.unstable_shouldCallHandler()`/`DataStr
458458

459459
- `react-router` - Add `unstable_pattern` to the parameters for client side `unstable_onError` ([#14573](https://github.com/remix-run/react-router/pull/14573))
460460
- `react-router` - Refactor how `unstable_onError` is called internally by `RouterProvider` to avoid potential strict mode issues ([#14573](https://github.com/remix-run/react-router/pull/14573))
461-
- `react-router` - Add new `unstable_useTransitions` flag to routers to give users control over the usage of [`React.startTransition`](https://react.dev/reference/react/startTransition) and [`React.useOptimistic`](https://react.dev/reference/react/useOptimistic). ([#14524](https://github.com/remix-run/react-router/pull/14524))
461+
- `react-router` - Add new `unstable_useTransitions` flag to routers to give users control over the usage of [`React.startTransition`](https://react.dev/reference/react/startTransition) and [`React.useOptimistic`](https://react.dev/reference/react/useOptimistic) ([#14524](https://github.com/remix-run/react-router/pull/14524))
462+
- Please see the [docs](https://reactrouter.com/7.10.0/explanation/react-transitions) for more information
462463
- Framework Mode + Data Mode:
463464
- `<HydratedRouter unstable_transition>`/`<RouterProvider unstable_transition>`
464465
- When left unset (current default behavior)
@@ -468,6 +469,7 @@ The existing low-level `DataStrategyMatch.unstable_shouldCallHandler()`/`DataStr
468469
- When set to `true`
469470
- Router state updates remain wrapped in `React.startTransition` (as they are without the flag)
470471
- `Link`/`Form` navigations will be wrapped in `React.startTransition`
472+
- You can drop down to `useNavigate`/`useSubmit` if you wish to opt out of this outer `React.startTransition` call for the navigation
471473
- A subset of router state info will be surfaced to the UI _during_ navigations via `React.useOptimistic` (i.e., `useNavigation()`, `useFetchers()`, etc.)
472474
- ⚠️ This is a React 19 API so you must also be React 19 to opt into this flag for Framework/Data Mode
473475
- When set to `false`

0 commit comments

Comments
 (0)