Skip to content

Commit 3958fc0

Browse files
authored
Update 05-client-side-rendering.mdx with latest tanstack query version (vercel#54009)
### What? Update Tanstack query URL ### Why? The latest Tanstack query version is v4, the docs currently list v3
1 parent 5b16f85 commit 3958fc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/03-pages/01-building-your-application/02-rendering/05-client-side-rendering.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ After the page has been loaded for the first time, navigating to other pages on
1717
In Next.js, there are two ways you can implement client-side rendering:
1818

1919
1. Using React's `useEffect()` hook inside your pages instead of the server-side rendering methods ([`getStaticProps`](/docs/pages/building-your-application/data-fetching/get-static-props) and [`getServerSideProps`](/docs/pages/building-your-application/data-fetching/get-server-side-props)).
20-
2. Using a data fetching library like [SWR](https://swr.vercel.app/) or [TanStack Query](https://tanstack.com/query/v3/) to fetch data on the client (recommended).
20+
2. Using a data fetching library like [SWR](https://swr.vercel.app/) or [TanStack Query](https://tanstack.com/query/latest/) to fetch data on the client (recommended).
2121

2222
Here's an example of using `useEffect()` inside a Next.js page:
2323

0 commit comments

Comments
 (0)