You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I have followed on what is recommended here on how to track progress on file upload. On apollo-client v3, it looks like xhr.upload.onprogress is not really working as expected.
Issue is:
It doesn't return the progress ranges until when it is 1 (donating 100%).
Followed up on @n1ru4l's solution in this section on an attempt to solve this for Apollo Client v3, and it seems not to work.
What do you think the issue is? Are there any potential updates since these suggestions from here please?
The text was updated successfully, but these errors were encountered:
It doesn't return the progress ranges until when it is 1 (donating 100%).
I don't know if any of that old code your reference is still a good idea, but are you sure that your files are not just small enough that it actually does upload them in one chunk?
That was what I twas thinking initially, but not really. I did test it out with files that are pretty much large. I have tried with 200MB, to 2 gigs files.
Regarding the old code reference, you are right. Not sure if there is another way to get this to work. There isnt much docs on this stuff as well, at least for this library to achieve file upload progress.
So I have followed on what is recommended here on how to track progress on file upload. On apollo-client v3, it looks like
xhr.upload.onprogress
is not really working as expected.Issue is:
It doesn't return the progress ranges until when it is 1 (donating 100%).
Followed up on @n1ru4l's solution in this section on an attempt to solve this for Apollo Client v3, and it seems not to work.
What do you think the issue is? Are there any potential updates since these suggestions from here please?
The text was updated successfully, but these errors were encountered: