Skip to content

Commit 811dd47

Browse files
authoredApr 17, 2023
Fix typo
1 parent 18bc6bc commit 811dd47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎docs/rtk-query/usage/automated-refetching.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ const api = createApi({
232232
Note that for the example above, the `id` is used where possible on a successful result. In the case of an error, no result is supplied, and we still consider that it has provided the general `'Post'` tag type rather than any specific instance of that tag.
233233

234234
:::tip Advanced List Invalidation
235-
In order to provide stronger control over invalidating the appropriate data, you can use an arbitrary ID such a `'LIST'` for a given tag. See [Advanced Invalidation with abstract tag IDs](#advanced-invalidation-with-abstract-tag-ids) for additional details.
235+
In order to provide stronger control over invalidating the appropriate data, you can use an arbitrary ID such as `'LIST'` for a given tag. See [Advanced Invalidation with abstract tag IDs](#advanced-invalidation-with-abstract-tag-ids) for additional details.
236236
:::
237237

238238
### Invalidating cache data
@@ -381,7 +381,7 @@ const api = createApi({
381381
For the example above, rather than invalidating any tag with the type `'Post'`, calling the `editPost` mutation function will now only invalidate a tag for the provided `id`. I.e. if cached data from an endpoint does not provide a `'Post'` for that same `id`, it will remain considered as 'valid', and will not be triggered to automatically re-fetch.
382382
383383
:::tip Using abstract tag IDs
384-
In order to provide stronger control over invalidating the appropriate data, you can use an arbitrary ID such a `'LIST'` for a given tag. See [Advanced Invalidation with abstract tag IDs](#advanced-invalidation-with-abstract-tag-ids) for additional details.
384+
In order to provide stronger control over invalidating the appropriate data, you can use an arbitrary ID such as `'LIST'` for a given tag. See [Advanced Invalidation with abstract tag IDs](#advanced-invalidation-with-abstract-tag-ids) for additional details.
385385
:::
386386
387387
## Tag Invalidation Behavior

0 commit comments

Comments
 (0)
Please sign in to comment.