Skip to content

Commit 028129c

Browse files
authored
docs(routers/create-browser-router): fix docs-info links (#10726)
1 parent 4a08119 commit 028129c

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

contributors.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@
181181
- ryanflorence
182182
- ryanhiebert
183183
- sanketshah19
184+
- sbolel
184185
- scarf005
185186
- senseibarni
186187
- sergiodxa

docs/routers/create-browser-router.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ This is the recommended router for all React Router web projects. It uses the [D
99

1010
It also enables the v6.4 data APIs like [loaders][loader], [actions][action], [fetchers][fetcher] and more.
1111

12-
<docs-info>
13-
Due to the decoupling of fetching and rendering in the design of the data APIs, you should create your router outside of the React tree with a statically defined set of routes. For more information on this design, please see the [Remixing React Router][remixing-react-router] blog post and the W[When to Fetch][when-to-fetch] conference talk.
14-
</docs-info>
12+
<docs-info>Due to the decoupling of fetching and rendering in the design of the data APIs, you should create your router outside of the React tree with a statically defined set of routes. For more information on this design, please see the [Remixing React Router][remixing-react-router] blog post and the [When to Fetch][when-to-fetch] conference talk.</docs-info>
1513

1614
```tsx lines=[4,11-24]
1715
import * as React from "react";

docs/routers/router-provider.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ interface RouterProviderProps {
2424

2525
All [data router][picking-a-router] objects are passed to this component to render your app and enable the rest of the data APIs.
2626

27-
<docs-info>
28-
Due to the decoupling of fetching and rendering in the design of the data APIs, you should create your router outside of the React tree with a statically defined set of routes. For more information on this design, please see the [Remixing React Router][remixing-react-router] blog post and the W[When to Fetch][when-to-fetch] conference talk.
29-
</docs-info>
27+
<docs-info>Due to the decoupling of fetching and rendering in the design of the data APIs, you should create your router outside of the React tree with a statically defined set of routes. For more information on this design, please see the [Remixing React Router][remixing-react-router] blog post and the [When to Fetch][when-to-fetch] conference talk.</docs-info>
3028

3129
```jsx lines=[24]
3230
import {

0 commit comments

Comments
 (0)