Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow multiple files upload through web UI, including drag & drop #9856
I have to ask, does this actually work? AJAX requests are asynchronous so making them from a loop does not guarantee sequential execution, and upload progress is a one-for-all state subtree so multiple concurrent requests for different files would be overwriting it all the time
Thanks for the feedback. I see what you're saying about the interaction between the async ajax and the upload progress.
Functionally it works, but you are right. After simulating slow speeds I was actually able to see the progress bar and it's not pretty.
From what I understand, the store has only one
I don't think multiple types in the store would be very elegant, and certainly not extensible. I'll look into what can be done, but I'm pretty new to react/redux so any advice is appreciated.