Next/React File upload abortion in use cancellation
I am trying to create a Next JS video file uploader using Axios and NextApiRequests.
I want to implement a button to cancel an ongoing file upload once the handleUpload function is triggered but have no luck doing so.
The issue is that the file keeps uploading after the axios signal is aborted. As video files are pretty large it is far from optimal.