Skip to content

Commit 19bdb1c

Browse files
authored
Update part-7-rtk-query-basics.md
1 parent e324034 commit 19bdb1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tutorials/essentials/part-7-rtk-query-basics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ RTK Query's functionality is based on a single method, called `createApi`. All o
142142

143143
**Your application is expected to have only one `createApi` call in it**. This one API slice should contain _all_ endpoint definitions that talk to the same base URL. For example, endpoints `/api/posts` and `/api/users` are both fetching data from the same server, so they would go in the same API slice. If your app does fetch data from multiple servers, you can either specify full URLs in each endpoint, or if necessary create separate API slices for each server.
144144

145-
Endpoints are normally defined directly inside the `createApi` call. If you're looking to split up your endpoints between multiple files, see [the "Injecting Endpoints" section in Part 8](https://redux.js.org/tutorials/essentials/part-8-rtk-query-advanced#injecting-endpoints) section of the docs!
145+
Endpoints are normally defined directly inside the `createApi` call. If you're looking to split up your endpoints between multiple files, see [the "Injecting Endpoints" section in Part 8](./part-8-rtk-query-advanced.md#injecting-endpoints) section of the docs!
146146

147147
:::
148148

0 commit comments

Comments
 (0)