---
title: "Data Fetching: FETCH API Approach vs SWR Approach"
url: https://daily.dev/posts/data-fetching-fetch-api-approach-vs-swr-approach-th6uxkeip
source_url: https://medium.com/cstech/data-fetching-fetch-api-approach-vs-swr-approach-c2272dff85b8?source=rss------javascript-5
type: article
source: "Medium"
published: 2022-12-29T09:09:38.263Z
updated: 2022-12-29T09:09:38.259Z
tags: ["react", "github", "database"]
reading_time: 7
upvotes: 73
comments: 4
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Data Fetching: FETCH API Approach vs SWR Approach

**[Medium](https://daily.dev/sources/medium_js)** · 7 min read · 73 upvotes · 4 comments

## Summary

Fetching is a method of receiving and sending data provided to us by JavaScript. The Fetch API method has an asynchronous nature. It is not a method that can be used alone as a substitute for FETCH API. In the Single Page Application method, there is usually no need to load a web page from scratch.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://medium.com/cstech/data-fetching-fetch-api-approach-vs-swr-approach-c2272dff85b8?source=rss------javascript-5>

## Community discussion

Top comments from developers on daily.dev.

**@thesourcepedia** · 2 upvotes

> this is something I know when working in PWA, its good technique for caching.

**@tugrulyildirim** · 2 upvotes

> I didn't know SWR library, thx for sharing the article. Have a great day !

**@ooguzyuksel** · 1 upvotes

> Thanks a lot for your comments guys! You made me proud :)

**@josephciullo** · 1 upvotes

> Good article!

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#react](https://daily.dev/tags/react), [#github](https://daily.dev/tags/github), [#database](https://daily.dev/tags/database)

[View this post on daily.dev](https://daily.dev/posts/data-fetching-fetch-api-approach-vs-swr-approach-th6uxkeip)
