Skip to content

Commit f37fcf3

Browse files
committed
docs: hashKey
1 parent 9566984 commit f37fcf3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/react/guides/migrating-to-v5.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,10 @@ Lastly, a new derived `isLoading` flag has been added to the queries that is imp
384384

385385
To understand the reasoning behing this change checkout the [v5 roadmap discussion](https://github.com/TanStack/query/discussions/4252).
386386

387+
### `hashQueryKey` has been renamed to `hashKey`
388+
389+
because it also hashes mutation keys and can be used inside the `predicate` functions of `useIsMutating` and `useMutationState`, which gets mutations passed.
390+
387391
[//]: # 'FrameworkSpecificBreakingChanges'
388392

389393
### The minimum required React version is now 18.0

0 commit comments

Comments
 (0)