Back to Browse

Avoiding Duplicate Requests in Fetch Enhanced Forms | Learn Web Dev with Austin Gil

890 views
Jan 20, 2023
6:52

If you're using fetch to enhance form submissions, you may be introducing a common bug. In this video, @heyAustinGil will show you the issue with duplicate requests, race conditions, and how to abort previous requests using AbortController. Links: Aborting a fetch - https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API#aborting_a_fetch AbortController - https://developer.mozilla.org/en-US/docs/Web/API/AbortController Watch Austin's Livestreams here: YouTube: https://www.youtube.com/heyAustinGil Twitch: https://www.twitch.tv/heyaustingil Website: https://austingil.com/ Chapters: 0:00 - Introduction 0:13 - How to Avoid Duplicate Requests in Fetch Enhanced Forms 6:06 - Recap & Wrap Up #webdevelopment #abortcontroller #formsubmission

Download

0 formats

No download links available.

Avoiding Duplicate Requests in Fetch Enhanced Forms | Learn Web Dev with Austin Gil | NatokHD