Skip to content

Commit a4d9fba

Browse files
authored
Update README.mdx (#109)
1 parent a56af5d commit a4d9fba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exercises/03.loading/README.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ load the data will be the same, as will the code to render the UI.
7575

7676
The data loading is a part of the route module in Remix. Each route module in
7777
the `app/routes` directory can export an `async` function called a
78-
[`loader`](https://remix.run/docs/en/1.14.3/route/loader). This function is run
78+
[`loader`](https://remix.run/docs/en/main/route/loader). This function is run
7979
only on the server and therefore has access to your database, APIs, private
8080
environment variables, etc. It receives the `Request` object and `params` object
8181
and should return a `Response` object. For example:
@@ -104,7 +104,7 @@ export async function loader({ request, params }: LoaderFunctionArgs) {
104104
```
105105

106106
Then the UI code can use the
107-
[`useLoaderData`](https://remix.run/docs/en/1.14.3/hooks/use-loader-data) hook
107+
[`useLoaderData`](https://remix.run/docs/en/main/hooks/use-loader-data) hook
108108
from `@remix-run/react` which will return the data from the `loader` function.
109109

110110
```tsx

0 commit comments

Comments
 (0)