In React, external data is very important to make your project more dynamic. However, when you use useEffect for data fetching, it is generally hard to manage the state, fortunately SWR simplifies this process. Introduction to SWR The first thing I w...

Markdown supported · ⌘↵ to post
Great stuff Furkan! I see the use-case for this in client components, but this isn't necessary anymore with Next.js Server Component nextjs.org/docs/app/building-your-application/dat… You can simply use fetch in the components with await.
Ender Bonnet
Software Engineer
Did you try cancelling the request on the axios side?