4 ms·
The only thing I’ve seen that I’ve hit recently is fetch doesn’t have a progress API. Use case: I was fetching a large image from a server to render into a can
by nemothekid 4y ago
The only thing I’ve seen that I’ve hit recently is fetch doesn’t have a progress API.
Use case: I was fetching a large image from a server to render into a canvas and I wanted to show a progress bar for the download. AFAIK there is no way to do this with fetch
- easrng 4y agoYou need to consume the body stream manually: https://fetch-progress-demo.glitch.me/ https://fetch-progress-demo.glitch.me/