You are right, it can make a difference, especially if the responses are quite big. This would be a nice feature for useSWR
I found that there is a RFC for cancellation with useSWR: github.com/vercel/swr/discussions/... and it has a pull request as well but not reviewed/merged yet.
You are right, it can make a difference, especially if the responses are quite big. This would be a nice feature for
useSWRI found that there is a RFC for cancellation with useSWR: github.com/vercel/swr/discussions/... and it has a pull request as well but not reviewed/merged yet.
Maybe it arrives soon.
I agree that it would be a nice addition to useSWR. I hope the pull request gets reviewed and merged soon.
I appreciate our discussion and your contributions to the topic. If you have any further questions or thoughts, feel free to share them.