Update a link (#20999)

Update link from https://swr.now.sh to https://swr.vercel.app
This commit is contained in:
Lalit 2021-01-13 19:52:29 +05:30 committed by GitHub
parent 92637a9b08
commit a6ff7bd661
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -791,7 +791,7 @@ This approach works well for user dashboard pages, for example. Because a dashbo
### SWR ### 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 youre 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 youre 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 ```jsx
import useSWR from 'swr' import useSWR from 'swr'