Skip to content

Commit

Permalink
fix minor typo in SWR (vercel#33378)
Browse files Browse the repository at this point in the history
Fixes a small typo: "highly recommend" -> "highly recommended"
  • Loading branch information
bashunaimiroy authored and natew committed Feb 16, 2022
1 parent ab65b37 commit a7f0e78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/basic-features/data-fetching/client-side.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function Profile() {

## Client-side data fetching with SWR

The team behind Next.js has created a React hook library for data fetching called [**SWR**](https://swr.vercel.app/). It is **highly recommend** if you are fetching data on the client-side. It handles caching, revalidation, focus tracking, refetching on intervals, and more.
The team behind Next.js has created a React hook library for data fetching called [**SWR**](https://swr.vercel.app/). It is **highly recommended** if you are fetching data on the client-side. It handles caching, revalidation, focus tracking, refetching on intervals, and more.

Using the same example as above, we can now use SWR to fetch the profile data. SWR will automatically cache the data for us and will revalidate the data if it becomes stale.

Expand Down

0 comments on commit a7f0e78

Please sign in to comment.