Skip to content

Commit d87ee6f

Browse files
docs(api): add some extra reference links (#14079)
1 parent 4955d20 commit d87ee6f

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

packages/react-router/lib/components.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -277,11 +277,11 @@ export interface RouterProviderProps {
277277
* );
278278
* ```
279279
*
280-
* <docs-info>Please note that this component is exported both from `react-router` and
281-
* `react-router/dom` with the only difference being that the latter automatically
282-
* wires up the `react-dom` `flushSync` implementation. You _almost always_ want
283-
* to use the version from `react-router/dom` unless you're running in a non-DOM
284-
* environment.</docs-info>
280+
* <docs-info>Please note that this component is exported both from
281+
* `react-router` and `react-router/dom` with the only difference being that the
282+
* latter automatically wires up `react-dom`'s [`flushSync`](https://react.dev/reference/react-dom/flushSync)
283+
* implementation. You _almost always_ want to use the version from
284+
* `react-router/dom` unless you're running in a non-DOM environment.</docs-info>
285285
*
286286
*
287287
* @public

packages/react-router/lib/dom-export/hydrated-router.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,8 @@ function createHydratedRouter({
217217
export interface HydratedRouterProps {
218218
/**
219219
* Context object to be passed through to {@link createBrowserRouter} and made
220-
* available to [`clientAction`](../../start/framework/route-module#clientAction)/[`clientLoader`](../../start/framework/route-module#clientLoader)
220+
* available to
221+
* [`clientAction`](../../start/framework/route-module#clientAction)/[`clientLoader`](../../start/framework/route-module#clientLoader)
221222
* functions
222223
*/
223224
unstable_getContext?: RouterInit["unstable_getContext"];

0 commit comments

Comments
 (0)