Skip to content

Commit a6c9e8b

Browse files
committed
docs: update README with cancelQueries(..)
1 parent 2d92043 commit a6c9e8b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/react-client/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -501,6 +501,11 @@ qraft.entities.getEntities.invalidateQueries(
501501
);
502502
```
503503

504+
### [cancelQueries(...) 🔗](https://tanstack.com/query/latest/docs/reference/QueryClient#queryclientcancelqueries)
505+
506+
[Query Cancellation](https://tanstack.com/query/latest/docs/framework/react/guides/query-cancellation) has the
507+
same interface as `invalidateQueries(..)`, but it will cancel the queries instead of invalidating them.
508+
504509
### Suspense Queries
505510

506511
Supported Suspense Queries are:

0 commit comments

Comments
 (0)