Cancelling HTTP Requests with React Hooks and Axios!

Опубликовано: 29 Сентябрь 2024
на канале: Owen Conti
8,004
64

This is a follow up video to my previous video:    • "Cannot update unmounted components" ...  

In this video, learn how you can cancel HTTP requests when using React's useEffect hook and the axios request library.

Thanks to viewer Ming Wu for recommending the cancel HTTP request approach.

The codesandbox link can be found here: https://codesandbox.io/embed/zw53rkk7ml

---

Thanks for watching! Make sure to leave a comment letting me know how you enjoyed this week's snippet!

Twitter:   / owenconti  
Website: https://owenconti.com

Projects:

RemoteAuth: https://remoteauth.com
Released: https://released.xyz