odysseyscience / react-s3-uploader

React component that renders an <input type="file"/> and automatically uploads to an S3 bucket

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

set a timeout for the upload

viniciusdacal opened this issue · comments

Currently, there's no way to set a timeout option for the upload, so, you could endup with a loading state forever.

I took a look at the code and I could give it a shoot to implement this options, seems straightforward.

Hey @viniciusdacal, thanks for the report. I don't currently use this library, just merge PRs, and try to maintain. Would love it if you'd like to take a stab at a PR. Thanks!

It would be a very good feature to dispatch errors with internet connection failure for example ...