---
title: "Discussion on \"Purpose of fetch() function\" | Hashnode"
description: "Discussion on \"Purpose of fetch() function\". Fetch() is a function used to retrieve data. It is a promise that once finished some data will be available. So lets breakdown what all is needed for a fetch() function to retrieve data.\nFirst you will need the url for where the data is coming from. ..."
url: "https://hashnode.com/posts/purpose-of-fetch-function/6605baf7fbabed33b78998c8"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Purpose of fetch() function](https://neejames.hashnode.dev/purpose-of-fetch-function?utm_source=hashnode&utm_medium=feed)

Fetch() is a function used to retrieve data. It is a promise that once finished some data will be available. So lets breakdown what all is needed for a fetch() function to retrieve data. First you will need the url for where the data is coming from. ...

Mar 28, 2024 · 3 min read · neejames.hashnode.dev  
Read the article

-   [#fetch-api](https://hashnode.com/tag/fetch-api)

## Written by

[Neechelle James](https://hashnode.com/@neejames)

@neejames

  
[View profile](https://hashnode.com/@neejames)

Software Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
