Skip to content

Commit 21c5e09

Browse files
authored
docs: Fix broken link some example path (#8813)
* docs: fix example path in "advanced-ssr.md" * fix: broken example link
1 parent 081ef3c commit 21c5e09

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

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

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

533533
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.
534534

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

537537
## Experimental streaming without prefetching in Next.js
538538

@@ -599,7 +599,7 @@ export function Providers(props: { children: React.ReactNode }) {
599599
}
600600
```
601601

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

604604
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.
605605

‎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/offline) that covers both queries and mutations.
389+
We also have an extensive [offline example](../../../../examples/react/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-router) for another demonstration.
415+
Integration with other routers is also possible, see the [React Router example](../../../../examples/react/react-router) for another demonstration.
416416

417417
[//]: # 'Router'
418418

‎docs/framework/react/guides/suspense.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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/nextjs-suspense-streaming) and the [Advanced Rendering & Hydration](../advanced-ssr) guide.
175+
For more information, check out the [NextJs Suspense Streaming Example](../../../../examples/react/nextjs-suspense-streaming) and the [Advanced Rendering & Hydration](../advanced-ssr) guide.
176176

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

0 commit comments

Comments
 (0)