Skip to content

Commit 813d70f

Browse files
docs: add v2 docs links (TanStack#1676)
* docs: add v2 docs links * revert (partial): docs: add v2 docs links This partially reverts commit 48c40e3 - reverting docs Nav only. * docs: add v2 docs link to home page banner.
1 parent 39691a7 commit 813d70f

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Enjoy this library? Try the entire [TanStack](https://tanstack.com)! [React Tabl
2828

2929
## Visit [react-query.tanstack.com](https://react-query.tanstack.com) for docs, guides, API and more!
3030

31+
Still on **React Query v2**? No problem! Check out the v2 docs here: https://react-query-v2.tanstack.com/.
3132
## Quick Features
3233

3334
- Transport/protocol/backend agnostic data fetching (REST, GraphQL, promises, whatever!)

docs/src/pages/index.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,17 @@ const Home = ({ sponsors }) => {
8585
</a>
8686
</div>
8787
</div>
88+
<div className="mt-5">
89+
<p>
90+
Still using v2? No problem!{' '}
91+
<a
92+
href="https://react-query-v2.tanstack.com/docs/overview"
93+
className="text-blue-600 font-semibold transition-colors duration-150 ease-out"
94+
>
95+
Find the v2 docs here.
96+
</a>
97+
</p>
98+
</div>
8899
</div>
89100
</div>
90101
</div>

0 commit comments

Comments
 (0)