Skip to content

Commit b17ce51

Browse files
committed
fix: broken link to pessimistic-updates
1 parent 6c98f73 commit b17ce51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rtk-query/usage/manual-cache-updates.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ aware of, we can avoid unnecessary requests and loaders.
5959

6060
:::
6161

62-
Use cases for upserting cache entries in pair with [pessimistic updates]((../usage/manual-cache-updates.mdx#pessimistic-updates)):
62+
Use cases for upserting cache entries in pair with [pessimistic updates](../usage/manual-cache-updates.mdx#pessimistic-updates):
6363
- you create a new Post and backend returns its complete data including `id`. Then we
6464
can use `upsertQueryData` to create a new cache entry for the `getPostById(id)` query, preventing unnecessary fetching it on enter.
6565
- same can be applied for batch creations of items, when backend returns a list of created items with their ids.

0 commit comments

Comments
 (0)