---
title: "Discussion on \"API Data Fetching in React / Next.js\" | Hashnode"
description: "Discussion on \"API Data Fetching in React / Next.js\". Remember the good old days when you could just use a UseEffect() hook, define an async function with useCallback() and call it inside useEffect(), use an AbortController() to abort the fetch when the component unmounts, use useState() to make the isL..."
url: "https://hashnode.com/posts/api-data-fetching-in-react-nextjs/6595a74d4b1f5affc97d0808"
---

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

Discussion

# [API Data Fetching in React / Next.js](https://rashidshamloo.hashnode.dev/api-data-fetching-in-react-nextjs?utm_source=hashnode&utm_medium=feed)

Remember the good old days when you could just use a UseEffect() hook, define an async function with useCallback() and call it inside useEffect(), use an AbortController() to abort the fetch when the component unmounts, use useState() to make the isL...

Jan 3, 2024 · 8 min read · rashidshamloo.hashnode.dev  
Updated Feb 3, 2024  
Read the article

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

## Written by

[Rashid Shamloo](https://hashnode.com/@rashidshamloo)

@rashidshamloo · Iran

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

Developer, Programmer, Avid Learner

Developer, Programmer, Avid Learner

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
