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...
rashidshamloo.hashnode.dev8 min read