---
title: "Discussion on \"setTimeOut in useEffect API call (Data Fetching).\" | Hashnode"
description: "Discussion on \"setTimeOut in useEffect API call (Data Fetching).\". Fetching API data with useEffect can be tricky sometimes. In this article, we will look at one trick for efficient data fetching with useEffect. \nThis article assumes you understand how useEffect hook works. If you do not, visit the react docs.\nLet's..."
url: "https://hashnode.com/posts/settimeout-in-useeffect-api-call-data-fetching/6036499305efef7f0a9d34d1"
---

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

Discussion

# [setTimeOut in useEffect API call (Data Fetching).](https://davidson.hashnode.dev/settimeout-in-useeffect-api-call-data-fetching?utm_source=hashnode&utm_medium=feed)

Fetching API data with useEffect can be tricky sometimes. In this article, we will look at one trick for efficient data fetching with useEffect. This article assumes you understand how useEffect hook works. If you do not, visit the react docs. Let's...

Feb 1, 2021 · 6 min read · davidson.hashnode.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#beginners](https://hashnode.com/tag/beginners)

## Written by

[Uzodike Oguejiofor](https://hashnode.com/@Davidson)

@Davidson

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

Software Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
