question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Uploading large files --> is there a prop for "loading"

See original GitHub issue

Do you want to request a feature or report a bug? I’m asking if there’s a way to replicate the feature/utility i need

  • I found a bug
  • [x ] I want to propose a feature

What is the current behavior?

I’m using react-dropzone to upload a large folder of files (using the file picker). It works fine, but I need some feedback for the user while the library processes the files. The onDrop callback only returns when the directory has been uploaded and processed.

How do I get a prop to return in between the time the user selects the folder, but before the onDrop finishes running?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
michaelcohen716commented, Dec 7, 2021

I realize this is closed, but I’m wondering if @michaelcohen716 ever setup a way around this? I haven’t noticed any lag time on my end but it’s a requirement for a project that I’m working on and I didn’t see anything related in the file-selector repo.

don’t remember exactly but i don’t think there was any native solution here. sorry!

0reactions
CWSitescommented, Dec 7, 2021

I realize this is closed, but I’m wondering if @michaelcohen716 ever setup a way around this? I haven’t noticed any lag time on my end but it’s a requirement for a project that I’m working on and I didn’t see anything related in the file-selector repo.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Upload Large Files Using Plain JavaScript
Most of the articles on the frontend large file upload online have given solutions. The core is to use the Blob.prototype.slice method. Similar ......
Read more >
They all shall pass: a guide to handling large file uploads
Possible solutions: 1) Configure maximum upload file size and memory limits for your server. 2) Upload large files in chunks. 3) Apply resumable ......
Read more >
Progress bar while uploading large files with XMLHttpRequest
I am trying to upload some large files to the server using XMLHttpRequest and file.slice. I've manage doing this with the help of ......
Read more >
Big File Uploads – Increase Maximum File Upload Size
Big File Uploads lets you set a new maximum upload size limit for all uploads or customize the maximum file upload size for...
Read more >
Uploading Large Files to GitHub - Towards Data Science
gitignore. Create a file .gitignore in the parent directory of the repository, and store all the file directories that you want Git to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found