Skip to content

Commit 3925102

Browse files
authored
Clarify mutation loading / fetching lack of distinction (#1214)
My assumption is that this sentence should say that there is no distinction between loading and fetching considering that only `isLoading` is exposed (unlike `useQuery` which exposes `isFetching` as well)
1 parent b023941 commit 3925102

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rtk-query/usage/mutations.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ Below are some of the most frequently used properties on the "mutation result" o
112112

113113
:::note
114114

115-
With RTK Query, a mutation does contain a semantic distinction between 'loading' and 'fetching' in the way that a [query does](./queries.mdx#frequently-used-query-hook-return-values). For a mutation, subsequent calls are not assumed to be necessarily related, so a mutation is either 'loading' or 'not loading', with no concept of 're-fetching'.
115+
With RTK Query, a mutation does not contain a semantic distinction between 'loading' and 'fetching' in the way that a [query does](./queries.mdx#frequently-used-query-hook-return-values). For a mutation, subsequent calls are not assumed to be necessarily related, so a mutation is either 'loading' or 'not loading', with no concept of 're-fetching'.
116116

117117
:::
118118

0 commit comments

Comments
 (0)