Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions packages/react-router/lib/components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -277,11 +277,11 @@ export interface RouterProviderProps {
* );
* ```
*
* <docs-info>Please note that this component is exported both from `react-router` and
* `react-router/dom` with the only difference being that the latter automatically
* wires up the `react-dom` `flushSync` implementation. You _almost always_ want
* to use the version from `react-router/dom` unless you're running in a non-DOM
* environment.</docs-info>
* <docs-info>Please note that this component is exported both from
* `react-router` and `react-router/dom` with the only difference being that the
* latter automatically wires up `react-dom`'s [`flushSync`](https://react.dev/reference/react-dom/flushSync)
* implementation. You _almost always_ want to use the version from
* `react-router/dom` unless you're running in a non-DOM environment.</docs-info>
*
*
* @public
Expand Down
3 changes: 2 additions & 1 deletion packages/react-router/lib/dom-export/hydrated-router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,8 @@ function createHydratedRouter({
export interface HydratedRouterProps {
/**
* Context object to be passed through to {@link createBrowserRouter} and made
* available to [`clientAction`](../../start/framework/route-module#clientAction)/[`clientLoader`](../../start/framework/route-module#clientLoader)
* available to
* [`clientAction`](../../start/framework/route-module#clientAction)/[`clientLoader`](../../start/framework/route-module#clientLoader)
* functions
*/
unstable_getContext?: RouterInit["unstable_getContext"];
Expand Down