You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/vike-vue-query/README.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,16 @@
6
6
7
7
Integrates [TanStack Query](https://tanstack.com/query) into your [`vike-vue`](https://vike.dev/vike-vue) app.
8
8
9
+
Features:
10
+
- Data is fetched at the component level (unlike [`+data`](https://vike.dev/data), which fetches at the page level)
11
+
- All TanStack Query niceties
12
+
- All SSR benefits
13
+
14
+
You can completely stop using Vike's [`+data` hook](https://vike.dev/data) — or use both: `+data` for some pages, and `vike-vue-query` for others.
15
+
16
+
> [!NOTE]
17
+
> If you don't want to stop using Vike's `+data` hook, then you **don't need `vike-vue-query`** — you can use TanStack Query without any Vike integration.
0 commit comments