Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"files" array (returned by useS3Upload()) taking time to update #187

Open
nik32 opened this issue Aug 16, 2024 · 0 comments
Open

"files" array (returned by useS3Upload()) taking time to update #187

nik32 opened this issue Aug 16, 2024 · 0 comments

Comments

@nik32
Copy link
Contributor

nik32 commented Aug 16, 2024

The problem is that once I make the call the uploadToS3() to upload a file... sometimes it takes a few seconds before the files are added to the "files" array. This is a problem as we are using the files array to communicate to the user that file upload has begun. As there is a few seconds of delay in the communication... the user feels like there was some problem and thus the file did not get uploaded (Which our people feel is not a good UX).

My questions -

  1. Why the delay is there?
  2. Is there any way to solve this delay so that the user gets instant feedback that his files have started uploading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant