Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/framework/react/reference/hydration.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ hydrate(queryClient, dehydratedState, options)
- `mutations: MutationOptions` The default mutation options to use for the hydrated mutations.
- `queries: QueryOptions` The default query options to use for the hydrated queries.
- `deserializeData?: (data: any) => any` A function to transform (deserialize) data before it is put into the cache.
- `queryClient?: QueryClient`,
- `queryClient?: QueryClient`
- Use this to use a custom QueryClient. Otherwise, the one from the nearest context will be used.

### Limitations
Expand Down Expand Up @@ -122,7 +122,7 @@ function App() {
- Optional
- `defaultOptions: QueryOptions`
- The default query options to use for the hydrated queries.
- `queryClient?: QueryClient`,
- `queryClient?: QueryClient`
- Use this to use a custom QueryClient. Otherwise, the one from the nearest context will be used.

[//]: # 'HydrationBoundary'
2 changes: 1 addition & 1 deletion docs/framework/react/reference/useIsFetching.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const isFetchingPosts = useIsFetching({ queryKey: ['posts'] })
**Options**

- `filters?: QueryFilters`: [Query Filters](../../guides/filters.md#query-filters)
- `queryClient?: QueryClient`,
- `queryClient?: QueryClient`
- Use this to use a custom QueryClient. Otherwise, the one from the nearest context will be used.

**Returns**
Expand Down
2 changes: 1 addition & 1 deletion docs/framework/react/reference/useIsMutating.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const isMutatingPosts = useIsMutating({ mutationKey: ['posts'] })
**Options**

- `filters?: MutationFilters`: [Mutation Filters](../../guides/filters.md#mutation-filters)
- `queryClient?: QueryClient`,
- `queryClient?: QueryClient`
- Use this to use a custom QueryClient. Otherwise, the one from the nearest context will be used.

**Returns**
Expand Down
2 changes: 1 addition & 1 deletion docs/framework/react/reference/useMutation.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ mutate(variables, {

**Parameter2 (QueryClient)**

- `queryClient?: QueryClient`,
- `queryClient?: QueryClient`
- Use this to use a custom QueryClient. Otherwise, the one from the nearest context will be used.

**Returns**
Expand Down
2 changes: 1 addition & 1 deletion docs/framework/react/reference/useMutationState.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const latest = data[data.length - 1]
- `filters?: MutationFilters`: [Mutation Filters](../../guides/filters.md#mutation-filters)
- `select?: (mutation: Mutation) => TResult`
- Use this to transform the mutation state.
- `queryClient?: QueryClient`,
- `queryClient?: QueryClient`
- Use this to use a custom QueryClient. Otherwise, the one from the nearest context will be used.

**Returns**
Expand Down
2 changes: 1 addition & 1 deletion docs/framework/react/reference/useQuery.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ const {

**Parameter2 (QueryClient)**

- `queryClient?: QueryClient`,
- `queryClient?: QueryClient`
- Use this to use a custom QueryClient. Otherwise, the one from the nearest context will be used.

**Returns**
Expand Down
2 changes: 1 addition & 1 deletion docs/framework/react/reference/useQueryClient.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ const queryClient = useQueryClient(queryClient?: QueryClient)

**Options**

- `queryClient?: QueryClient`,
- `queryClient?: QueryClient`
- Use this to use a custom QueryClient. Otherwise, the one from the nearest context will be used.