Skip to content

Commit eb15f87

Browse files
authored
docs: fix broken links in docs (#9052)
1 parent a2a39c9 commit eb15f87

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

docs/framework/react/guides/advanced-ssr.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ export default function Posts() {
530530

531531
Now, your `getPosts` function can return e.g. `Temporal` datetime objects and the data will be serialized and deserialized on the client, assuming your transformer can serialize and deserialize those data types.
532532

533-
For more information, check out the [Next.js App with Prefetching Example](../examples/react/nextjs-app-prefetching).
533+
For more information, check out the [Next.js App with Prefetching Example](../examples/nextjs-app-prefetching).
534534

535535
## Experimental streaming without prefetching in Next.js
536536

@@ -597,7 +597,7 @@ export function Providers(props: { children: React.ReactNode }) {
597597
}
598598
```
599599

600-
For more information, check out the [NextJs Suspense Streaming Example](../examples/react/nextjs-suspense-streaming).
600+
For more information, check out the [NextJs Suspense Streaming Example](../examples/nextjs-suspense-streaming).
601601

602602
The big upside is that you no longer need to prefetch queries manually to have SSR work, and it even still streams in the result! This gives you phenomenal DX and lower code complexity.
603603

docs/framework/react/guides/mutations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ export default function App() {
386386

387387
[//]: # 'Example11'
388388

389-
We also have an extensive [offline example](../examples/react/offline) that covers both queries and mutations.
389+
We also have an extensive [offline example](../examples/offline) that covers both queries and mutations.
390390

391391
## Mutation Scopes
392392

docs/framework/react/guides/prefetching.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ const articleRoute = new Route({
412412
})
413413
```
414414

415-
Integration with other routers is also possible, see the [React Router example](../examples/react/react-router) for another demonstration.
415+
Integration with other routers is also possible, see the [React Router example](../examples/react-router) for another demonstration.
416416

417417
[//]: # 'Router'
418418

docs/framework/react/guides/suspense.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ React Query can also be used with React's Suspense for Data Fetching APIs. For t
1010
- [useSuspenseQueries](../reference/useSuspenseQueries.md)
1111
- Additionally, you can use the `useQuery().promise` and `React.use()` (Experimental)
1212

13-
When using suspense mode, `status` states and `error` objects are not needed and are then replaced by usage of the `React.Suspense` component (including the use of the `fallback` prop and React error boundaries for catching errors). Please read the [Resetting Error Boundaries](#resetting-error-boundaries) and look at the [Suspense Example](../examples/react/suspense) for more information on how to set up suspense mode.
13+
When using suspense mode, `status` states and `error` objects are not needed and are then replaced by usage of the `React.Suspense` component (including the use of the `fallback` prop and React error boundaries for catching errors). Please read the [Resetting Error Boundaries](#resetting-error-boundaries) and look at the [Suspense Example](../examples/suspense) for more information on how to set up suspense mode.
1414

1515
If you want mutations to propagate errors to the nearest error boundary (similar to queries), you can set the `throwOnError` option to `true` as well.
1616

@@ -172,7 +172,7 @@ export function Providers(props: { children: React.ReactNode }) {
172172
}
173173
```
174174

175-
For more information, check out the [NextJs Suspense Streaming Example](../examples/react/nextjs-suspense-streaming) and the [Advanced Rendering & Hydration](./advanced-ssr.md) guide.
175+
For more information, check out the [NextJs Suspense Streaming Example](../examples/nextjs-suspense-streaming) and the [Advanced Rendering & Hydration](./advanced-ssr.md) guide.
176176

177177
## Using `useQuery().promise` and `React.use()` (Experimental)
178178

0 commit comments

Comments
 (0)