You can now track file upload progress when using Vercel Blob in all modern browsers and JavaScript…
Vincent Voyer
Visit on X@vvoyer3.9K followers
83,837 views
You can now track file upload progress when using Vercel Blob in all modern browsers and JavaScript environments.
When I started working on this, I thought, "It's 2024; it's gonna be simple LFG!!!"
I was so naive 🤣
There's no way to track upload progress with fetch. Instead, you need to use a combination of Readable/Transform streams along with an old friend, XMLHttpRequest, to solve that.
Here's how to do it…
Comments
Comments from the original post on X (Twitter)
No comments yet
