Skip to content

Commit 1f685ae

Browse files
MaedahBatoolleerob
andauthored
Fixed broken links in data fetching docs (#33250)
Found some broken links in the updated Data Fetching docs. Fixed all of these. ## Documentation / Examples - [x] Make sure the linting passes by running `yarn lint` Co-authored-by: Lee Robinson <9113740+leerob@users.noreply.github.com>
1 parent 1dd053f commit 1f685ae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/basic-features/data-fetching/client-side.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ The team behind Next.js has created a React hook library for data fetching calle
4747

4848
Using the same example as above, we can now use SWR to fetch the profile data. SWR will automatically cache the data for us and will revalidate the data if it becomes stale.
4949

50-
For more information on using SWR, check out the [SWR docs](https://swr.vercel.app/docs).
50+
For more information on using SWR, check out the [SWR docs](https://swr.vercel.app/docs/getting-started).
5151

5252
```jsx
5353
import useSWR from 'swr'

docs/basic-features/data-fetching/get-server-side-props.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Take the following example. An API route is used to fetch some data from a CMS.
4545

4646
## Fetching data on the client side
4747

48-
If your page contains frequently updating data, and you don’t need to pre-render the data, you can fetch the data on the [client side](/docs/basic-features/client-side.md). An example of this is user-specific data:
48+
If your page contains frequently updating data, and you don’t need to pre-render the data, you can fetch the data on the [client side](/docs/basic-features/data-fetching/client-side.md). An example of this is user-specific data:
4949

5050
- First, immediately show the page without data. Parts of the page can be pre-rendered using Static Generation. You can show loading states for missing data.
5151
- Then, fetch the data on the client side and display it when ready.

0 commit comments

Comments
 (0)