---
title: "Discussion on \"How to add loader or spinner using react hooks while fetching data from APIs.\" | Hashnode"
description: "Discussion on \"How to add loader or spinner using react hooks while fetching data from APIs.\". Thank you for reading my last blog  APIs the first step, in this blog we will look at how to add loader and spinner in react using Hook while fetching Data from API.\nLoader or spinner is a simple gif used to show the user that data is being loaded in..."
url: "https://hashnode.com/posts/how-to-add-loader-or-spinner-using-react-hooks-while-fetching-data-from-apis/5fbc2f9aec43af1ba60939f1"
---

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

Discussion

# [How to add loader or spinner using react hooks while fetching data from APIs.](https://hashnode.com/post/how-to-add-loader-or-spinner-using-react-hooks-while-fetching-data-from-apis?utm_source=hashnode&utm_medium=feed)

Thank you for reading my last blog APIs the first step, in this blog we will look at how to add loader and spinner in react using Hook while fetching Data from API. Loader or spinner is a simple gif used to show the user that data is being loaded in...

Nov 23, 2020 · 9 min read · hashnode.com  
Updated Jan 9, 2021  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#frontend](https://hashnode.com/tag/frontend)
-   [#vscode](https://hashnode.com/tag/vscode)

## Written by

[Ebuka Achonwa](https://hashnode.com/@ebuka)

@ebuka · WAKANDA

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

Learner

Am just a regular self-thought coder, what do I know.

## Responses 2

Markdown supported · ⌘↵ to post

[Bello Hadi](https://hashnode.com/@Alliendeveloper)

[Mar 12, 2022](https://hashnode.com/posts/how-to-add-loader-or-spinner-using-react-hooks-while-fetching-data-from-apis/5fbc2f9aec43af1ba60939f1/comment/622cdd14df08b9b823417c25)

it help me out
