Skip to content

Commit

Permalink
Merge pull request #2680 from BeijiYang/fix-enhanceEndpoints-link
Browse files Browse the repository at this point in the history
  • Loading branch information
markerikson authored Dec 28, 2022
2 parents 3828000 + 52a9d2c commit 6a7879f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rtk-query/usage/code-generation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ That will result in all generated endpoints having `providesTags`/`invalidatesTa

Note that this will only result in string tags with no ids, so it might lead to scenarios where too much is invalidated and unneccessary requests are made on mutation.

In that case it is still recommended to manually specify tags by using [`enhanceEndpoints`](./code-splitting.mdx) on top of the generated api and manually declare `providesTags`/`invalidatesTags`.
In that case it is still recommended to manually specify tags by using [`enhanceEndpoints`](../api/created-api/code-splitting.mdx) on top of the generated api and manually declare `providesTags`/`invalidatesTags`.

### Programmatic usage

Expand Down

0 comments on commit 6a7879f

Please sign in to comment.