Skip to content

Commit 5272890

Browse files
committed
docs: improve intro
1 parent a87df80 commit 5272890

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

packages/vike-vue-query/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@
66

77
Integrates [TanStack Query](https://tanstack.com/query) into your [`vike-vue`](https://vike.dev/vike-vue) app.
88

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.
18+
919
<br/>
1020

1121
**Table of Contents**

0 commit comments

Comments
 (0)