Comments (4)
@kenny-house Are you still available for this?
from react-s3-uploader.
Hey @Judahmeek, it's been a while since I've been working with this library very much.
I'd be happy to revisit this issue, but It will probably be a little while before I'll have availability to dive into it.
from react-s3-uploader.
I am also interested in this since I ran into an error where the S3 Service Object that the S3 router was constructing was not picking up my credentials for some reason. Once I passed both my access keys it worked. So right now I had to implement the server side signing on my own but I would love to be able to use both parts of this library.
Unless @kenny-house got some time he didnt expect, I will try to get a PR up for this soon.
from react-s3-uploader.
I was actually about to work on this but realized I had a slightly different idea then @kenny-house and wanted to implement something that helps us all. As I see it there are 3 options of things we could pass in via a new param:
- The configuration of S3 that gets passed directly to
new aws.S3
- An already instantiated S3 Service Object
- A function that returns a new instantiated S3 Service Object
1 would work for the case @kenny-house described but I don't think it is as useful for testing as 2 would be (since you could pass in an entire mock). However with 2 we would change from instantiating S3 for each request to only instantiating once in the main function body. 3 allows a full mock and keeping the current behavior but is unnecessary if there is no issue with instantiating S3 once.
What do you think?
from react-s3-uploader.
Related Issues (20)
- MultipartUpload support? HOT 1
- Method Not Allowed 405 PUT Error
- index.d.ts missing methods/props HOT 1
- ReactS3Uploader.propTypes is undefined when deployed on Heroku HOT 3
- Domentation for all the props
- iPhone camera video quality issue
- Console Warning: getDefaultProps is only used on classic React.createClass...
- Content-Type is blank when uploading HOT 3
- How to notify server of image upload? HOT 1
- Is the "accept" prop even being used? Where can we find a list of valid prop arguments? (Duplication of #220) HOT 2
- Return boolean or Promise on file upload
- Can't limit upload size HOT 1
- Getting CORS error on uploading file on AWS S3 HOT 3
- Unable to generate a valid signed upload URL for Digital Ocean spaces
- Type for signingUrlHeaders is wrong HOT 2
- findDOMNode is deprecated in StrictMode HOT 1
- Uncaught ReferenceError: process is not defined - Chrome browser Console error HOT 2
- Upload error 400 after onProgress reports all the way through 100% HOT 4
- Mime-types modules is not intended to be used with browser HOT 2
- Upload error: Could not contact request signing server
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-s3-uploader.