Update a link (#20999)
Update link from https://swr.now.sh to https://swr.vercel.app
This commit is contained in:
parent
92637a9b08
commit
a6ff7bd661
1 changed files with 1 additions and 1 deletions
|
@ -791,7 +791,7 @@ This approach works well for user dashboard pages, for example. Because a dashbo
|
|||
|
||||
### SWR
|
||||
|
||||
The team behind Next.js has created a React hook for data fetching called [**SWR**](https://swr.now.sh/). We highly recommend it if you’re fetching data on the client side. It handles caching, revalidation, focus tracking, refetching on interval, and more. And you can use it like so:
|
||||
The team behind Next.js has created a React hook for data fetching called [**SWR**](https://swr.vercel.app/). We highly recommend it if you’re fetching data on the client side. It handles caching, revalidation, focus tracking, refetching on interval, and more. And you can use it like so:
|
||||
|
||||
```jsx
|
||||
import useSWR from 'swr'
|
||||
|
|
Loading…
Reference in a new issue