founderlab / react-dropzone-s3-uploader

Drag and drop s3 file uploader via react-dropzone + react-s3-uploader
MIT License
161 stars 82 forks source link

s3Url, uploadedFiles, and uploaderOptions causing warnings in browser #49

Open ryangiglio opened 6 years ago

ryangiglio commented 6 years ago

Getting these warnings in the Chrome console. React 16.2.0

Warning: React does not recognize the s3Url prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase s3url instead. If you accidentally passed it from a parent component, remove it from the DOM element.

Warning: React does not recognize the uploadedFiles prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase uploadedfiles instead. If you accidentally passed it from a parent component, remove it from the DOM element.

Warning: React does not recognize the uploaderOptions prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase uploaderoptions instead. If you accidentally passed it from a parent component, remove it from the DOM element.

bramvdpluijm commented 6 years ago

I'm also encountering this issue.

ythecombinator commented 6 years ago

Same here. Has anyone managed to find any workaround?

cellis commented 5 years ago

@ryangiglio @bramvdpluijm @ythecombinator / anyone coming across this error:

<DropzoneS3Uploader
   passChildrenProps={false}><ChildrenComponent/></DropzoneS3Uploader>