Document support for using with react-dropzone
See original GitHub issueI’ve personally integrated this with react-dropzone, but the code was too specific to my use case to release.
We should add some code and documentation for the preferred way to integrate with react-dropzone
.
For those wondering, I essentially bypassed the ReactS3Uploader
react component and just included s3upload.js
directly. Using the S3Upload
class, I just wrapped each dropped file in a new instance, which kicks off the same upload process as using the component.
Issue Analytics
- State:
- Created 8 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
react-dropzone
Simple React hook to create a HTML5-compliant drag'n'drop zone for files. Documentation and examples at https://react-dropzone.js.org.
Read more >React Dropzone - GitHub
React Dropzone integrates perfectly with Pintura Image Editor, creating a modern image editing experience. Pintura supports crop aspect ratios, resizing, ...
Read more >Accepting specific file types - react-dropzone
By providing accept prop you can make the dropzone accept specific file types and reject the others. The value must be an object...
Read more >Create a Drag-and-Drop Zone in React ... - OpenReplay Blog
It's a simple React hook to create an HTML-5 compliant drag-and-drop zone for files. Dropzone provides additional functions such as customizing ...
Read more >React Dropzone and File Uploads in React - Upmostly
React Dropzone and file uploads in React banner showing a cloud file upload image next to. In this tutorial, we'll learn how to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
So I basically wrapped the
s3uploader
in a class that fires events and returns a promise.Here is the class I called
S3FileUploader
:And then I’m using this in the
onDrop
function called fromreact-dropzone
:I am essentially looking for doing the same thing! @seanadkinson do you mind share your solution (after remove all personal credentials of course)?