Skip navigation
You can now track file upload progress when using Vercel Blob in all modern browsers and JavaScript…
0:00 / 0:16

You can now track file upload progress when using Vercel Blob in all modern browsers and JavaScript…

Vincent Voyer

@vvoyer3.9K followers

Visit on X

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