How can we follow the upload progress with fetch() ?

Adinan Cenci Published:

Simple: We can't.
Not right now anyway, fetch() does not support that, but good old XMLHttpRequest does though.

The below function behaves much like fetch(), it will return a Promise that will resolve into a Response object.

Just pass a progress function in the options parameter.