Skip to content

Commit fc9d8f8

Browse files
committed
chore: add peer deps shields
1 parent e3db935 commit fc9d8f8

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
[![bundle][bundle-src]][bundle-href]
66
[![coverage][coverage-src]][coverage-href]
77

8+
[![npm peer dependency version - @tanstack/vue-query][peer-deps-tanstack-vue-query-src]][peer-deps-tanstack-vue-query-href]
9+
[![npm peer dependency version - @tanstack/react-query][peer-deps-tanstack-react-query-src]][peer-deps-tanstack-react-query-href]
10+
811
Use callbacks of query in the usual way, as before.
912

1013
The tanstack/query has removed `onSuccess`, `onError` and `onSettled` from useQuery in v5. You can find more information in the [RFC](https://github.com/TanStack/query/discussions/5279).
@@ -78,5 +81,9 @@ useQueryCallbacks({
7881
[npm-downloads-href]: https://npmjs.com/package/tanstack-query-callbacks
7982
[bundle-src]: https://img.shields.io/bundlephobia/minzip/tanstack-query-callbacks?style=flat&colorA=18181B&colorB=F0DB4F
8083
[bundle-href]: https://bundlephobia.com/result?p=tanstack-query-callbacks
81-
[coverage-src]: https://img.shields.io/codecov/c/gh/aa900031/tanstack-query-callbacks?token=AG56Z6EP8U&logo=codecov&color=F0DB4F
84+
[coverage-src]: https://img.shields.io/codecov/c/gh/aa900031/tanstack-query-callbacks?logo=codecov&style=flat&colorA=18181B&colorB=F0DB4F
8285
[coverage-href]: https://codecov.io/gh/aa900031/tanstack-query-callbacks
86+
[peer-deps-tanstack-vue-query-src]: https://img.shields.io/npm/dependency-version/tanstack-query-callbacks/peer/@tanstack/vue-query?style=flat&colorA=18181B&colorB=F0DB4F
87+
[peer-deps-tanstack-vue-query-href]: https://www.npmjs.com/package/@tanstack/vue-query
88+
[peer-deps-tanstack-react-query-src]: https://img.shields.io/npm/dependency-version/tanstack-query-callbacks/peer/@tanstack/react-query?style=flat&colorA=18181B&colorB=F0DB4F
89+
[peer-deps-tanstack-react-query-href]: https://www.npmjs.com/package/@tanstack/react-query

0 commit comments

Comments
 (0)