Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Prev Previous commit
Next Next commit
docs: update link to cancel options
  • Loading branch information
Sc4ramouche authored Aug 26, 2025
commit 6f3b60dd9f3f5ad6e5ad58f180b6807f86da62c2
2 changes: 1 addition & 1 deletion docs/reference/QueryClient.md
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ await queryClient.cancelQueries({ queryKey: ['posts'], exact: true })
**Options**

- `filters?: QueryFilters`: [Query Filters](../../framework/react/guides/filters.md#query-filters)
- `cancelOptions?: CancelOptions`: [Cancel Options](../../framework/react/guides/filters.md#query-filters)
- `cancelOptions?: CancelOptions`: [Cancel Options](../../framework/react/guides/filters.md#cancel-options)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- `cancelOptions?: CancelOptions`: [Cancel Options](../../framework/react/guides/filters.md#cancel-options)
- `cancelOptions?: CancelOptions`: [Cancel Options](../../framework/react/guides/query-cancellation#XXX)

I think this would be a better place for CancelOptions. because CancelOptions is not about filters

Copy link
Contributor Author

@Sc4ramouche Sc4ramouche Sep 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, moved it to query-cancellation guide.


**Returns**

Expand Down