I\'ve been looking everywhere for some help on making a component to help manage uploading files from within React to an endpoint I have setup.
I\'ve tried numerous
I was faced with the task of getting that facebook or gmail-like behavior where your drop target highlights as soon as the user begins dragging a file anywhere over the window. There was no off-the-shelf React drag and drop solution that I could find. So, I made one.
It is meant to be bare-bones, supplying you with a base to customize and style as your own. It provides many hooks to enable you to do this. But there is also a demo that gives you an example to go off of.
Check it out: https://www.npmjs.com/package/react-file-drop
Demo: http://sarink.github.io/react-file-drop/demo/