API Data Fetching in React / Next.js
Jan 3, 2024 · 8 min read · 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...
Join discussion



